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
|
@ -6,7 +6,7 @@ AddDefaultCharset UTF-8
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
|
||||||
# Deny direct access to .txt files
|
# 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
|
# All URL process by index.php
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
|
Loading…
Reference in New Issue