Apache .htaccess error message

Permission denied: /home/dsweeney/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I have seen several posts describing how to resolve this error message. Most of them are mentioning an images directory. I have run into this issue as a sys admin where I allow user directories to be web accessible.  The public_html directory in a users home directory is where users can put docs they want to view via a browser.

Well the solution is to check the permissions of the directories in the entire path of the public_html folder. If the permissions for /home are 700 you will get the above error message.  If /home/username is 700 same thing and all the way down.

Solution: chmod 755 the directory with the incorrect permissions.  I have found for this particular scenario it’s the /home/username directory.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s