Fix Security issue
Deny access to bl-content directory txt files instead of content directory txt files.
This commit is contained in:
parent
a2740a8113
commit
bdd594da0c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue