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/


  • 165 Users Found This Useful

Was this answer helpful?

Related Articles

Whitelisting Multiple IPs with Mod_Security

The following can be added to the main modsecurity.conf or a whitelist file such as one...

FSCK Options and Maintenance

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

E Sysup: Needed system RPMs were not installed: yum-utils

When encountering the following:E Sysup: Needed system RPMs were not installed: yum-utils*****...

SpamAssassin Command Line Bayesian Learn Command cPanel

Once it is enabled, it is necessary to train spamassassin to learn what is junk mail and what is...

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...