From 3568c7c04b58467d1ad2145de506fdcc8b905e9f Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 10 Feb 2013 14:48:37 +0100 Subject: Fix rewrite rule to actually prevent access to bin/ and SQL/ directories --- .htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index f4b5a241d..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|UPGRADING)$ - [F] +RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F] +RewriteRule ^/?(SQL|bin) - [F] -- cgit v1.2.3