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/


  • 167 Users Found This Useful

Was this answer helpful?

Related Articles

Show longer file names in directory/folder index

If you've ever wanted to show longer file names in your directory listing just create or edit an...

Redirect http to https and www

To forward a website to use both www. and https:// use the following in an .htaccess file:...

htaccess referral redirect

Setting Up a Referral Redirect With .htaccess   A referral redirect (also called a...

Complete Guide to .htaccess on Apache

The Complete Guide to .htaccess for Web Hosting   The .htaccess file is one of the most...

Disable error_log via htaccess

Disabling error_log Files via .htaccess   If your error_log file is growing large and...



Save 30% on web hosting - Use coupon code Hosting30