diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-02-10 14:48:37 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-02-10 14:49:23 +0100 |
commit | 0016cde2fe143643e95a878c53b1c95b318d5aa4 (patch) | |
tree | 3e7c9aa29c615714d6834bc644673f8078bd6f08 | |
parent | a33717b230715a4350bfbbd95940f04721e3fbba (diff) |
Fix rewrite rule to actually prevent access to bin/ and SQL/ directories
-rw-r--r-- | .htaccess | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> |