ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label plesk. Show all posts
Showing posts with label plesk. Show all posts

2011/05/14

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable


Is some cases, while browsing your domain you will be getting forbidden page. This is the problem with the directory / files permissions.

From /var/www/vhosts/domain.com/statistics/logs/error_log :  You can get the error

[critical] [client 192.168.1.1] (13)Permission
denied: /var/www/vhosts/domain.com/httpdocs/.htaccess pcfg_openfile:
unable to check htaccess file, ensure it is readable

This is due to incorrect permission for the httpdocs/httpsdocs

cd /var/www/vhosts/domain.com/
chmod 755 httpdocs
chmod 755 httpsdocs


This will work for you.