June 5, 2012
Apache permission denied on Mac OSX Lion
I’ve just upgraded to OSX Lion and had some trouble getting Apache to load a vhost. I kept getting a 403 permission denied error, but all my vhosts had the correct permission directives set.
Now by default your webserver document root is located in /Library/WebServer/Documents. I don’t really like that for my local machine, I’d rather store web files under my user account. Just tends to make things easier.
However…if you’re getting a 403 error, and something like this in your apache error log (/var/log/apache2/error_log):
...
Read more