Skip to content
Browse files

Fix rewrite rule to actually prevent access to bin/ and SQL/ directories

  • Loading branch information...
1 parent 63cff24 commit 3568c7c04b58467d1ad2145de506fdcc8b905e9f @thomascube thomascube committed Feb 10, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 .htaccess
View
3 .htaccess
@@ -31,7 +31,8 @@ RewriteEngine On
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# security rules
RewriteRule .git - [F]
-RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|SQL|bin|CHANGELOG|UPGRADING)$ - [F]
+RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F]
+RewriteRule ^/?(SQL|bin) - [F]
</IfModule>
<IfModule mod_deflate.c>

0 comments on commit 3568c7c

Please sign in to comment.
Something went wrong with that request. Please try again.