• fede.giro

    (@fedegiro)


    Hi.

    I spent the last 24hs trying to install a new, fresh WP on a local machine.

    I can get to the first step of the installation (DB name, db user, pass, etc). But im getting “Access forbidden! / Error 403” with step two (wp-admin/install.php). Note that this is not my first time, i worked with WP for years, and until now, i never had a problem installing WP.

    I have OS X Mountain Lion + XAAMP 1.8.3 and have all my projects @ /Users/fede/Sites/ . I’m doing all the things i do normally:

    – Add a virtualhost in Applications/XAAMP/etc/extra/httpd-vhosts.conf:

    <VirtualHost *:80>
        ServerName mycurrentproject.dev
        DocumentRoot /Users/fede/Sites/mycurrentproject
        <Directory /Users/fede/Sites/mycurrentproject >
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . index.php [L]
        </IfModule>
        </Directory>
    </VirtualHost>

    – Add a line to private/etc/hosts:
    127.0.0.1 mycurrentproject.dev

    – Create a DB with phpmyadmin

    – Start Apache / MySQL

    – Point the browser to mycurrentproject.dev

    And here is what error_log says:

    [Sat Nov 08 17:14:59.749114 2014] [access_compat:error] [pid 51309] [client 127.0.0.1:54236] AH01797: client denied by server configuration: /Users/fede/Sites/mycurrentproject/wp-admin/install.php

    My last WP project installed fine one month ago, and i did not updated/changed anything since then. Hope anyone can help me.

Viewing 1 replies (of 1 total)
  • Thread Starter fede.giro

    (@fedegiro)

    well, i created a new file wp-admin/temp.php with the same content of install.php and the server process temp.php without problems. so the 403 error only happens if trying to execute install.php. kinda strange, uh?. both files have 755 permission.

Viewing 1 replies (of 1 total)
  • The topic ‘403 access forbidden on install [localhost]’ is closed to new replies.