Ryan Tuosto
Ryan Tuosto

Reputation: 1951

Mac Lion Apache can't view files in document root

Apache is running, localhost is working, if I put an index.html that works as well. However I can't access any folders (my websites) within the document root, which is /Users/Me/Sites

I get a forbidden error when I try to access these.

What's going wrong?

Upvotes: 0

Views: 673

Answers (1)

Charphacy
Charphacy

Reputation: 2189

You should check the permissions of your home folder and your sites directory to make sure that they allow Apache access.

You could check the permissions, or just run (in a Terminal)

  • chmod o+x $HOME
  • chmod -R o+rX $HOME/Sites

Upvotes: 1

Related Questions