Error: [403] pcfg_openfile: unable to check htaccess file, ensure it is readable

Posted on Updated on

Iam getting ERROR 403 while accessing my website, I have checked error log and I found .htacess file missing or unable to read, form the below error have to know that a file missing from the given location and also noticed one thing apache will still searching file outside to the public_html directory. This indicates that the webserver unable to reach into the hosting location. Cpanel say’s that problem with frontpage extension, reinstall it to fix the issue.

In the error log /var/log/httpd/domains/

[crit] [client] (13)Permission denied: /home/username/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

In this case the error because of  miss-permission on public_html, Here we have a script to solve permission based issues this will help you to reset users permission as their own.

Also their has a manual method to solve this by changing the folder permissions with a chmod 755 (a+rx, u+w). On the otherhand have to change the group (chgrp www-data …) or maybe add Apache2 to a new group (see useradd(1) or just edit /etc/group), then restart Apache2. This may work on all systems.

root@server19 [~]# sh
Tue Nov 20 22:19:07 IST 2012 :
DirectAdmin File Permission/Ownership script
Usage: all da_files user_homes mysql email logs etc_configs
internal: maildir <user> <path/Maildir> set_user_home <user>

Thankyou 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s