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

ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Permission denied

The error Failed to access DBM file /var/cpanel/secdatadir/ip: Permission denied can occur on...

CSF Error: *WARNING* Binary location for [HOST] [/usr/bin/host] in /etc/csf/csf.conf is either incorrect, is not installed or is not executable

During a CSF start or restart you may encounter this error. This is a result of /usr/bin/host...

Failed to start tailwatchd. Unit tailwatchd.service entered failed state.

Failed to start tailwatchd. Unit tailwatchd.service entered failed state.  tailwatchd.service...

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

Nginx redirecting folder to another host or server

From time to time you may want to proxy out a path to another server or location. To perform a...