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.