2,187
edits
(Added " Address Already In Use") |
(Added "Permission denied - unable to check htaccess file") |
||
Line 39: | Line 39: | ||
*#* EG <code> rm -f /path/to/dodgy.pl </code> | *#* EG <code> rm -f /path/to/dodgy.pl </code> | ||
== Permission denied - unable to check htaccess file == | |||
Files within certain directories cannot be found when viewing via a web browser, and the Apache error logs have entries like... | |||
* <code> [Fri Jul 20 07:40:55 2012] [crit] [client 123.234.12.123] (13)Permission denied: /var/www/folder/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable </code> | |||
...you needn't be using an htaccess file to get the above error! | |||
Caused by incorrect permissions on the affected folder(s), to fix ensure that the web server has execute rights over the folder. So, assuming your web server user (<code>www-data</code>) has group rights over your site use to give execute rights to the group... | |||
* <code> chmod g+x <folder> </code> | |||
Source: http://www.liamdelahunty.com/tips/apache_pcfg_openfile_unable_to_check_htaccess.php | |||
[[Category:Apache]] | [[Category:Apache]] |