fixed issue in which .htaccess filtered more rules than it should (i.e. example.com/blog). Fixes #190
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user