code unix apache at paulcarvill.com, the home of Paul Carvill on the web

link: paulcarvill at flickr

paulcarvill.com

Hi, I'm Paul Carvill and I'm a web developer. I am Head of Interface Development at LBi, Europe's largest digital agency.

I also like walking, cooking, Bollywood and rock 'n' roll.

Posts Tagged ‘code unix apache’

Permission denied when accessing Sites directory on a Mac

Thursday, June 18th, 2009

Solution:

Open your Apache conf file:

sudo vi /private/etc/apache2/httpd.conf

…and relax the permissions somewhat by commenting out (with a #) or removing the ‘deny from all’ line:

<Directory />
        AllowOverride None
        Order Deny,Allow
#       Deny from all
</Directory>

With thanks to Damon Parker. See his site for an explanation of why you need to fix this in the first place.