summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-02-10 14:48:37 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-02-10 14:48:37 +0100
commit3568c7c04b58467d1ad2145de506fdcc8b905e9f (patch)
tree0ca2a83c7c220524a7995a08b7ef08d739da8519
parent63cff249a8937b65b168f3171b395d83cfae9bd2 (diff)
Fix rewrite rule to actually prevent access to bin/ and SQL/ directories
-rw-r--r--.htaccess3
1 files changed, 2 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index f4b5a241d..481bd091a 100644
--- a/.htaccess
+++ b/.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>