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

pull/88/head
Thomas Bruederli 11 years ago
parent a33717b230
commit 0016cde2fe

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

Loading…
Cancel
Save