MAMP 403 issue and fix


I have been using MAMP for a while. For no apparent reason today, I got a 403 message for the start page (http://localhost:8888/MAMP/):

Forbidden

You don’t have permission to access /MAMP/ on this server.
Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888

Figured out the solution by a little search but it is useful enough to share.

1. Quit MAMP or stop servers.
2. Open /Applications/MAMP/conf/apache/httpd.conf file in vim or any text editor.
3. Find this section of code:

<Directory />
Options Indexes FollowSymLinks
AllowOverride All
</Directory>

4. Change “AllowOverride All” to “AllowOverride None”.
5. Save the httpd.conf file.
6. Launch MAMP or start servers, then open up the start page.

It works !

  1. #1 by Dirk Einecke (MAMP Team) on February 23, 2010 - 4:13 am

    Hi,

    we’ve changed this for the next MAMP version. Thanks!

    Dirk Einecke
    MAMP Team

  2. #2 by Chip Cullen on March 26, 2010 - 8:27 am

    Thanks for posting this fix – it totally worked for me! I’d been trying to fix this for hours!

(will not be published)