Fix Security issue

Deny access to bl-content directory txt files instead of content
directory txt files.
This commit is contained in:
Anaggh Sreenath 2016-01-26 19:11:31 +05:30
parent a2740a8113
commit bdd594da0c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ AddDefaultCharset UTF-8
RewriteEngine on
# Deny direct access to .txt files
RewriteRule ^content/(.*)\.txt$ - [R=404,L]
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f