Home > Programming > Apache unable to access you sites on OS X

Apache unable to access you sites on OS X

April 17th, 2007

So you’ve just turned on Apache on OS X. You access http://localhost/ and it works just fine, but http://localhost/~username gives you an ominous 403 – Forbidden error.

Do you have FileVault enabled?

I had the same problem. FileVault seems to have changed the permissions on the home directory. You’ll need to execute:


chmod 701 ~
chmod 705 ~/Sites

Bonus: If you’re wondering how this is automagically mapped, look for UserDir on /etc/httpd/httpd.conf.

Ricardo Programming

  1. No comments yet.
Comments are closed.