Plesk for Linux – Fixing .htaccess pcfg_openfile error – permission fix
Posted on 09. Aug, 2009 by config in Linux, Ubuntu
Problem with directory / files permissions after installing some software on your Plesk Linux server ( Nagios for example known to cause this in certain scenarios ).
From /var/www/vhosts/domain.com/statistics/logs/error_log :
[critical] [client 192.168.0.13] (13)Permission
denied: /var/www/vhosts/domain.com/httpdocs/.htaccess pcfg_openfile:
unable to check htaccess file, ensure it is readable
You will see Forbidden Error in your browser.
If you check the mentioned location you will notice that .htaccess file is probably not even there. Creating it and giving it the correct permissions won’t help of course.
In our case permissions set wrong on the httpdocs / httpsdocs directory itself.
Try this to fix:
cd /var/www/vhosts/domain.com/
chmod 755 httpdocs
chmod 755 httpsdocs
You don’t have to set the permissions to 755 as 751 for example will work as well. Play with the permissions on httpdocs to find the suitable solution.



















3 Comments
m477
12. Nov, 2009
thanks, helped me out =)
(after an hour of pulling out my hair)
Claude Gelinas
12. Apr, 2010
Thanks for this!
Plesk 9.3 is still a mess, as far as permissions are concerned.
LEWIS
06. Sep, 2010
Buy:Zyban.Lumigan.Prednisolone.Accutane.Zovirax.Nexium.Arimidex.Retin-A.Prevacid.Valtrex.Mega Hoodia.100% Pure Okinawan Coral Calcium.Human Growth Hormone.Actos.Petcam (Metacam) Oral Suspension.Synthroid….
Leave a reply