Apache 2.2 PHP Mac OSX – Fix Apache Permissions Giving 403 When Requesting Images and CSS

apache-2.2mac-osxPHP

I have Apache running on my Mac (Snow Leopard). On my local dev machine my site cannot access images and CSS files that are hosted. Access to these directories is denied with a 403 Forbidden error.

I assume that I need to change permissions at the web server.

Can someone send me in the right direction to find out how I go about doing this?

Best Answer

I believe this question may be your answer. I haven't used Apache on a Mac myself but the permission structure seems to be the same as on Linux. You can either make the directories/files all world readable (chmod o+r), or assign user/group ownership to the files like in the linked question.

If that question doesn't solve things or you need further details just let me know.