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

When checking your error log you find the error 508 or 403 forbidden error in your browser and the following in the error_log file. "Permission denied: /home/username/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". This can occur when you change from suphp to dso. When occuring, run the following on the accounts public_html, or if a subdomain or addon domain:

chmod 755 /home/username/public_html/
chmod 755 /home/username/public_html/addondomain/

If this corrects the account and you are finding this is occurring globally on the server run the following:
chmod 755 /home/*/public_html/

Share this page:

Was this article useful? Have any suggestions or improvements to the information?

Also Read

Disable cPanel Brute Force Command Line

To disable the cPanel brute force detection from the command line usee the following:...

This webpage is not available ERR_SSL_VERSION_OR_CIPHER_MISMATCH

This webpage is not availableERR_SSL_VERSION_OR_CIPHER_MISMATCHA secure connection cannot be...

How to convert InnoDB to MyISAM

Although at times faster, you will find InnoDB a very large headache when it comes to table...

Reset cPanel Max Defers for an Account

While viewing exim_mainlog and seeing the following: enforce_mail_permissions: Domain...

Recursive chmod / Permission Change Across Directories for a File Type

The following command may be very useful for changing the permissions of a file type such as .php...