From 3568c7c04b58467d1ad2145de506fdcc8b905e9f Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 10 Feb 2013 08:48:37 -0500
Subject: [PATCH] Fix rewrite rule to actually prevent access to bin/ and SQL/ directories

---
 .htaccess |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/.htaccess b/.htaccess
index f4b5a24..481bd09 100644
--- a/.htaccess
+++ b/.htaccess
@@ -31,7 +31,8 @@
 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>

--
Gitblit v1.9.1