Deny access to error.log via http.
authorJanusz Dobrowolski <janusz@frontaccouting.eu>
Sun, 15 Apr 2012 12:17:13 +0000 (14:17 +0200)
committerJanusz Dobrowolski <janusz@frontaccouting.eu>
Sun, 15 Apr 2012 12:17:13 +0000 (14:17 +0200)
.htaccess

index ffcd03e635c5769da99c54e894d4dc230c78ac49..cad8d65d5f9619ca575cf62979288af8a28540ce 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,6 +1,8 @@
 # Protect sensitive files.
-<FilesMatch "\.(inc|po|sh|.*sql)$">
+<FilesMatch "\.(inc|po|sh|.*sql|log)$">
        Order allow,deny
+       Deny from All
+       Satisfy All
 </FilesMatch>
 
 # Disable directory listings.