WordPress.org

Forums

[resolved] install.php blocked on every directory (4 posts)

  1. ianwp
    Member
    Posted 2 years ago #

    Hello.
    I'm getting a weird problem here.
    I have at least 30 localhost WP installs made before and every one of them went fine.
    Now (after re-installing Win7 and XAMPP) I can't access ANY install.php file (whether it's WPs own, a dummy empty one, etc). Also, it doesn't matter where it's located (wp-admin folder, a random place outside WP, etc).

    This is not an antivirus or Windows firewall problem.
    It seems to be coming from apache itself.
    The apache error log says this

    [Fri Nov 30 16:46:40.223524 2012] [access_compat:error] [pid 5876:tid 1604] [client ::1:59365] AH01797: client denied by server configuration: D:/xampp/htdocs/vmf05/wp-admin/install.php

    Does anyone have a clue on this?
    I've went through all the normal steps and haven't found a solution yet.

    Thanks in advance for your help.

  2. ianwp
    Member
    Posted 2 years ago #

    I can't believe what the problem was!
    I moved a .htaccess file that had the WP better security directives to the root of xampp's site as a backup, and forgot to move it back after.

    No install file ANYWHEre could be accessed since it had the following:

    <files install.php>
    Order allow,deny
    Deny from all
    </files>

    And, since the file was on the root, it was affecting the whole server.

  3. epawel
    Member
    Posted 2 years ago #

    Hello,
    you helped me tremendously with your post. I did very similar mistake and find out it after reading about your experiences.
    Thanks a lot!

  4. ianwp
    Member
    Posted 2 years ago #

    I'm glad it helped! :)

Topic Closed

This topic has been closed to new replies.

About this Topic