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

pull/15/head
Thomas Bruederli 12 years ago
parent 63cff249a8
commit 3568c7c04b

@ -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>

Loading…
Cancel
Save