pcfg_openfile: unable to check htaccess file, ensure it is readable
Recently I logged into cPanel and view lots of error logs like this:
"Permission denied: [client] AH00529: /home/username/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/username/public_html/' is executable"
I then checked the permissions using the following commands:
"stat /home/username
stat /home/username/public_html"
The permissions on the folder "/home/username" is 0711, while the permissions on the folder "/home/username/public_html" is 0750. Additionally, the permissions on the .htaccess is 0644.
How could I fix this problem? Please help! Thanks a lot!
-
How about owner/group of .htaccess ? 0 -
The permissions are standard - I'd want to know the ownership of both public_html and .htaccess as @quietFinn suggested. 0 -
The ownership of both public_html and .htaccess is the only-one FTP user account I used to manage cPanel. 0 -
The group of public_html should be nobody. 0 -
The group of public_html should be nobody.
I did as you suggested. Additionally, I changed my EasyApache to use a different profile so it would use suexec instead of mod_ruid2, and eventually the issue was gone. Thanks very much!0
Please sign in to leave a comment.
Comments
5 comments