Tuesday, April 6, 2010

[Tue Apr 06 09:11:30 2010] [crit] [client ::1] (13)Permission denied: /Users/jamundf/Sites/website/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Have you ever gotten this error before?


[Tue Apr 06 09:11:30 2010] [crit] [client ::1] (13)Permission denied: /Users/jamundf/Sites/website/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable 


I scoured the Internet for a solution and found nothing. I tried chmod 777 on .htaccess and used xattr to remove other flags on the file.

Turns out it was even simpler than that. The parent directory had bad permissions and as such I couldn't read it.

The solution:
chmod 755 website/

Simple!

Jamund!

No comments:

Post a Comment