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:48:37 +0100 |
commit | 3568c7c04b58467d1ad2145de506fdcc8b905e9f (patch) | |
tree | 0ca2a83c7c220524a7995a08b7ef08d739da8519 | |
parent | 63cff249a8937b65b168f3171b395d83cfae9bd2 (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|UPGRADING)$ - [F] +RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F] +RewriteRule ^/?(SQL|bin) - [F] </IfModule> <IfModule mod_deflate.c> |