Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Andrew Folts
Andrew Folts
14,238 Points

MAMP Wordpress database error (denied by server configuration)?

A few weeks ago I was having problems with Wordpress permalinks, and so I started messing around with my Mac's httpd.conf settings, among other things. BIG MISTAKE.

Either that or my update to OSX Sierra royally screwed up MAMP, and now I can't connect to any of my local sites. Here's what I'm getting in the Apache error log:

File does not exist: /Applications/MAMP/htdocs/docs-assets, referer: http://localhost/MAMP/?language=English

[Fri Nov 25 23:04:38 2016] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store

I've tried reinstalling MAMP multiple times and resetting various settings on my Mac to no avail.

Does anyone have any tips for solutions I could possibly try? (Banging my head against the wall here.)


1 Answer

Hi Andrew - have you disabled web sharing on your Mac at all?

Andrew Folts
Andrew Folts
14,238 Points

I actually fixed it (the simplest solution is usually the right one).

It must have been something to do with the Mac update, because I downloaded a newer version of MAMP and everything worked fine.