fixed issue in which .htaccess filtered more rules than it should (i.e. example.com/blog). Fixes #190

This commit is contained in:
Enrique García Cota
2011-12-07 11:18:57 +01:00
parent 924aaaab18
commit 27f4ac4ead

View File

@@ -468,7 +468,7 @@ AddCharset utf-8 .html .css .js .xml .json .rss .atom
# Block access to backup and source files
# This files may be left by some text/html editors and
# pose a great security danger, when someone can access them
<FilesMatch ".(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
<FilesMatch "\.(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
Order allow,deny
Deny from all
Satisfy All
@@ -535,4 +535,4 @@ AddCharset utf-8 .html .css .js .xml .json .rss .atom
php_value session.cookie_httponly true
</IfModule>
# END HTML5 Boilerplate
# END HTML5 Boilerplate