MAMP Start Page Error

A few months back I installed MAMP on my MacBook Pro to do local development. I found it a lot easier to manage than a regular MySQL install on Mac. Until things went south. Out of no where my MAMP start page broke and would only return this error:

You don’t have permission to access /MAMP/ on this server.

With an HTTP 403 Forbidden error. The Apache error log provided some additional details:

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /Applications/MAMP/bin/mamp/

That was enough for me to start looking through the Apache config file – /Applications/MAMP/conf/apache/httpd.conf – to see what needed to be fixed. The Options directive for the start page, and the related pages like /phpMyAdmin, was limited to “Indexes MultiViews”. I didn’t want to bother with spelling out each option that might need to be turned on so I went with “Options All”.

If you have run into this problem then check the Options directive for the following directories: /Applications/MAMP/Library/icons, /Applications/MAMP/bin/phpMyAdmin, /Applications/MAMP/bin/SQLiteManager and /Applications/MAMP/bin/mamp. Change the “Options Indexes MultiViews” line to “Options All” under each of the Directory sections. In my config file that area starts on line 621.

After making those changes re-start MAMP’s Apache and you should be good to go.

No related posts.

This entry was posted in Posts and tagged . Bookmark the permalink.

43 Responses to MAMP Start Page Error

  1. Ryan McCue says:

    All you should have needed was to add “FollowSymLinks”. Using all can be inefficient from what I’ve seen.

    Mind you, I don’t have a Mac, and I don’t use packages like MAMP or XAMPP, so YMMV. :)

  2. Eric says:

    Hi,

    I had the same problem. What seems to have happened is that when I changed the blog address and WordPress address in settings, WordPress created some extra .htaccess files, the troublesome one being in the HD root directory. After deleting it, my MAMP start page and myPhpAdmin were accessible again.

  3. Dave says:

    Thanks mate, been trying to work this one out all day!

  4. Shawn says:

    I hit this a while ago too (just not in MAMP). If you do need MultiViews you still have to specify it. “Options All” does not include MultiViews. MultiViews must be set explicitly. So, you would have to do “Options All +MultiViews” if you need that functionality.

  5. Pingback: links for 2009-07-16 | BlueWave Media

  6. Tom says:

    Thanks Joseph. Good tip….

  7. Brett Blevins says:

    Ah, deleting the .htaccess file at the root level of the HD did the trick. I had been wondering about this for a week. Thanks!

  8. Pingback: WP Writes htaccess File in Account Root Instead of Website Root « foKuspoint words

  9. Zigo says:

    Indeed, I also found a .htaccess in the root directory of my harddisk. After deleting it, MAMP’s start page was back in business!

    Thanks!

  10. Aaron says:

    The solution in the post itself did not work for me, but Eric’s solution did. If you can’t access the .htaccess file in your HD folder to delete it, simply logon to a sever via FTP, create a blank one, drag it into your HD folder and allow it to overwrite the one that’s already there. Problem solved.

  11. Beppe says:

    Thanks Joseph,
    I had your same problem. Now it works as well.

  12. Dwi Mustikawati says:

    may i know where the places of .htaccess in directory.? I’m a newbie… I have been installed MAMP few months ago, the first time, the start page work, I’ve install WordPress, and run it. But I don’t know why, now my start page report “index of” where it’s display directory of file that i placed on “htdocs” folder in MAMP application. Can you help me…
    One month ago, I tried to reinstall it, but it doesn’t work, and then l try to install MAMP PRO, replace the port of MySQL to 3306, because there a problem with MySQL, but now the problem is My Start Page where l can’t create database on my php. Thank you to solve my problem…

  13. jon says:

    Great!! Thanks a lot!

  14. Matt Graham says:

    Thanks for the tip. I posted a link here on the MAMP message boards. Seems like a couple of people are having this problem.

  15. Emi says:

    Thank you! For really really dummies like myself, I will put down what I did.
    Since I didn’t see .htaccess file on my HD…..

    01. Opened Dreamweaver (or NotePad) and created a BLANK page.
    02. Named that file “.htaccess” and saved (overwrite) on the root directory of the Hard Drive.

    Thank you thank you!!

    • Carla says:

      After reading these suggestions and still not finding the .htaccess file, I followed your fix and it worked. Yea! It did prompt me that I was replacing an existing file on my HD.

      So… from another ‘really really dummy’ out there… thank you for sending in this suggestion!

  16. Sara says:

    Used terminal to show hidden files and .htaccess popped up immediately on my HD (hidden before). Trashed it, working g-r-e-a-t!

    Thank you!!

  17. Dan says:

    Thanks for this write up, I’ve been wondering this all week and finally decided to google it. Thanks!

  18. jennyb says:

    thank you, you saved me hours of hell…!

  19. lorraine says:

    as above, you saved me hours of wondering what the heck was going on….!
    Thanks everyone.

  20. Max says:

    I tried everything mentoned on this page and had no luck. I am still getting the error:

    “Error establishing a database connection”

    This happens everytime I click “Open start page”.

    Is there any other way of accessing the PHPMyAdmin area without a MAMP start page?

    I’ve been stuck on this for weeks and have read many forums and tried a number of suggestions. Uninstalling and reinstalling MAMP doesn’t work for some reason.

  21. Brad says:

    hey the .htaccess fix worked for me! it’s confusing at first. if anyone, like me, doesn’t know how to show or view the hidden files there is a nice tut here: http://theappleblog.com/2007/04/30/quick-tip-showhide-hidden-files/ it shows you how to make a simple plugin for finder to show/hide hidden files.

  22. Man you rock. That’s a nice quick fix. Very weird that it just got jacked up for no apparent reason though.

    thanks

  23. elena c says:

    well, it does not helped me at all. file was deleted and nothing happened. Any more suggestions?

  24. Betty says:

    Joseph, Thanks for posting this. The solution I needed was Eric’s as I also had renamed my WP folder and deleting the .htaccess file cured problems but if you hadn’t started the thread he wouldn’t have provided his simpler delete .htaccess solution. So I thank you both very much!

  25. Tim says:

    THAT WAS IT FOR ME THANKSSS:

    Used terminal to show hidden files and .htaccess popped up immediately on my HD (hidden before). Trashed it, working g-r-e-a-t!

  26. Steve says:

    After hours of frustratingly uninstalling and reinstalling – this finally did the trick! Thanks for posting Joe!

  27. Cindy says:

    Thanks so much, this worked for me too!!! Sounds like a bug to me!

  28. Charles A says:

    Deleting the .htaccess file worked like a champ. It wasn’t so much that it was created as much as it was where it was created. Silly that WP puts in the system (/) root directory. Thank you.

  29. Jeff says:

    Thank you very much for this. You saved me a lot of time.

  30. David Koh says:

    I also experienced this problem recently and I can confirm that the by deleteing the .htaccess file in top level of the hard disk solved the problem. It’s nice to have this irritating problem solved :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>