错误:(13)Permission denied: /home/cnmnscom/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

手册/FAQ (579) 2009-01-13 18:21:33

问题:

打开网站显示503禁止访问,

查看错误日志发现有如下记录:

[Sun Jan 11 21:35:07 2009] [crit] [client 58.243.40.37] (13)Permission denied: /home/cnmnscom/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

可能的原因:

public_html目录的权限或者用户组有误。

public_html目录的正确权限应该为750,用户组为nobody。

 

如果日志提示是其他目录的.htaccess不可读取,一般也是因为上级目录的权限或者属主用户组错误。目录的正确权限应该为755.

THE END