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/
or:
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

Failed to lock proc mutex: Permission denied

The error : Failed to lock proc mutex: Permission denied can occur when using mod_ruid2 with...

FSCK Options and Maintenance

Provided below are some useful commands pertaining to FSCK. Update commands to your environment /...

yum-utils not installed or found on Centos5 64-bit

When yum-utils is not installed or found on Centos5 64-bit the following commands may be used:...

Manually Clear from Console / Command Line cPanel Exim Mail Queue

To clear the cPanel exim mail queue quickly from a command line / shell use the following...

Killing cPanel Backups via Command Line / Shell

From time to time you may find the cPanel backup system taking longer and affecting production...