unable to check htaccess file, ensure it is readable

When you receive an error as below

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

Solution:

(1) ensure the folder ownership is correct

(2) ensure the folder permission is 755 while file is 644. For short cut, you can run the command as below

find . -type f -print0 | xargs -0 chmod 644;find . -type d -print0 | xargs -0 chmod 755

Leave a Reply

Your email address will not be published. Required fields are marked *