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:49:23 +0100
commit0016cde2fe143643e95a878c53b1c95b318d5aa4 (patch)
tree3e7c9aa29c615714d6834bc644673f8078bd6f08
parenta33717b230715a4350bfbbd95940f04721e3fbba (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 25e153f8c..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)$ - [F]
+RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F]
+RewriteRule ^/?(SQL|bin) - [F]
</IfModule>
<IfModule mod_deflate.c>