Protect a little more the .htaccess on case mod_rewrite is not available.
This commit is contained in:
parent
06faaaf71b
commit
49653db49c
|
@ -11,8 +11,10 @@
|
||||||
#XSendFile On
|
#XSendFile On
|
||||||
#XSendFileAllowAbove on
|
#XSendFileAllowAbove on
|
||||||
|
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
# Uncomment if you wish to protect acces with a password
|
# Uncomment if you wish to protect acces with a password
|
||||||
|
|
Loading…
Reference in a new issue