Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Pcfg_openfile: unable to check htaccess file, ensure it is readable
https://forum.ivorde.com/pcfg-openfile-unable-to-check-htaccess-file-ensure-it-is-readable-t91.html
Page 1 of 1

Author:  designeru [ Sat May 22, 2010 6:14 pm ]
Post subject:  Pcfg_openfile: unable to check htaccess file, ensure it is readable

While playing with permisions i got the following errors in the error_log of Apache 2 with mod_rewrite enabled.

Code:
[Mon May 24 01:10:31 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon May 24 01:10:58 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon May 24 01:11:04 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon May 24 01:11:05 2010] [crit] [client X.X.X.X] (13)Permission denied: /home/www/domain.tld/img/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

The fix was to check the permisions because they were wrongly set (missing the read and execute) on the parent folder of the image i was trying to access...
Please note that this has nothing to do with the .htaccess file or mod_rewrite module from Apache.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/