After editing the default virtual host in OSX server, whenever I attempt to access the site I get a message:

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

I didn't change any permissions. Any idea on how to fix this?


It looks like the webroot for that vhost is an empty folder and indexes are not on.


I would recommended recreating it in a new directory, and ensure permissions are correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.