summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2012-05-24 12:07:56 -0700
committerThomas B. <thomas@roundcube.net>2012-05-24 12:07:56 -0700
commit79742f039921a5b78d39f70cae7f61dbe6e8cda3 (patch)
tree1f16df34797bdafdd23e68d7c5fe3c9698d6ca53
parent4a5c1f53752008b1789cdef224199615bbaab3fc (diff)
parentb332e799b4840ff6d83c6e3730dd256ce493d79b (diff)
Merge pull request #7 from raoulbhatia/master
improve .htaccess security rules
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index d5ebe4c20..82afe76de 100644
--- a/.htaccess
+++ b/.htaccess
@@ -30,8 +30,8 @@ php_value mbstring.func_overload 0
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>