Protect a little more the .htaccess on case mod_rewrite is not available.

This commit is contained in:
Sébastien Lucas 2013-01-27 07:15:50 +01:00
parent 06faaaf71b
commit 49653db49c
1 changed files with 2 additions and 0 deletions

View File

@ -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