Apache error is a lot, but this error is really ignored, today, a Web server access 403 exception to view the configuration file is not a problem, and in the Error.log file, gave a similar number of lines in the note:
[Tue Oct 26 12:42:58 2010] [Crit] [Client 8.8.8.8] (13) Permission denied:/cicro/.htaccess pcfg_openfile:unable to check htaccess file, ensure it is readable
[Tue Oct 26 12:42:59 2010] [Crit] [Client 8.8.8.8] (13) Permission denied:/cicro/.htaccess pcfg_openfile:unable to check htaccess file, ensure it is readable
[Tue Oct 26 12:42:59 2010] [Crit] [Client 8.8.8.8] (13) Permission denied:/cicro/.htaccess pcfg_openfile:unable to check htaccess file, ensure it is readable
[Tue Oct 26 12:42:59 2010] [Crit] [Client 8.8.8.8] (13) Permission denied:/cicro/.htaccess pcfg_openfile:unable to check htaccess file, ensure it is readable
[Tue Oct 26 12:42:59 2010] [Crit] [Client 8.8.8.8] (13) Permission denied:/cicro/.htaccess pcfg_openfile:unable to check htaccess file, ensure it is readable
[Tue Oct 26 12:43:28 2010] [Crit] [Client 8.8.8.8] (13) Permission denied:/cicro/.htaccess pcfg_openfile:unable to check htaccess file, ensure it is readable
Initially considered to be the result of/cicro/.htaccess file permissions, the result found no such file, then created a/cicro/.htaccess file, the error continues, after analysis, is not missing this file caused by the error, because there is no this file, is not affected by Web access.
After careful analysis, found the root cause of the problem, if the log hint is a different directory. Htaccess is not readable, typically because of the permissions of the parent directory or the primary user group error. The correct permissions for the directory should be 755, but the permissions are not Apache root directory, but the main directory of the program files, the problem to locate the/cicro directory, view the Cicro directory permissions, found the essence of the problem!
DRW-RW-RW 9 root root 4096 10-26 13:03 Cicro
This permission is really interesting, do not know is the wrong operation or others in the practice of command, change back to 755 should be good.
Chmod-r 755/cicro
In fact, Linux root created by the directory, the default permissions are 755, may have overlooked this, and thinking about other aspects and deviated from the subject. Under this record, for reference use!
This article is from the "Technology Achievement Dream" blog, please be sure to keep this source http://ixdba.blog.51cto.com/2895551/526045
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/web/