diff options
author | Thomas B. <thomas@roundcube.net> | 2012-05-24 12:07:56 -0700 |
---|---|---|
committer | Thomas B. <thomas@roundcube.net> | 2012-05-24 12:07:56 -0700 |
commit | 79742f039921a5b78d39f70cae7f61dbe6e8cda3 (patch) | |
tree | 1f16df34797bdafdd23e68d7c5fe3c9698d6ca53 /.htaccess | |
parent | 4a5c1f53752008b1789cdef224199615bbaab3fc (diff) | |
parent | b332e799b4840ff6d83c6e3730dd256ce493d79b (diff) |
Merge pull request #7 from raoulbhatia/master
improve .htaccess security rules
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> |