From b332e799b4840ff6d83c6e3730dd256ce493d79b Mon Sep 17 00:00:00 2001
From: Raoul Bhatia <raoul@bhatia.at>
Date: Wed, 23 May 2012 10:18:23 -0400
Subject: [PATCH] improve .htaccess security rules:

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

diff --git a/.htaccess b/.htaccess
index d5ebe4c..82afe76 100644
--- a/.htaccess
+++ b/.htaccess
@@ -30,8 +30,8 @@
 RewriteEngine On
 RewriteRule ^favicon\.ico$ skins/default/images/favicon.ico
 # security rules
-RewriteRule .git/ - [F]
-RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F]
+RewriteRule .git - [F]
+RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|SQL|bin|CHANGELOG)$ - [F]
 </IfModule>
 
 <IfModule mod_deflate.c>

--
Gitblit v1.9.1