2012-10-29 12:58:02 +02:00
|
|
|
<Files fetch.php>
|
|
|
|
XSendFile on
|
|
|
|
</Files>
|
|
|
|
|
2012-12-10 07:14:33 +02:00
|
|
|
###########################################
|
|
|
|
# If the notation above don't work, you can try that one
|
|
|
|
# Disclaimer : I'm no apache expert it can be bad security wise :(
|
|
|
|
###########################################
|
|
|
|
#XSendFile On
|
|
|
|
#XSendFileAllowAbove on
|
|
|
|
|
2012-10-29 12:58:02 +02:00
|
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
2012-12-10 07:14:33 +02:00
|
|
|
|
|
|
|
###########################################
|
|
|
|
# Uncomment if you wish to protect acces with a password
|
|
|
|
###########################################
|
|
|
|
#AuthUserFile /path/to/file
|
|
|
|
#AuthGroupFile /dev/null
|
|
|
|
#AuthName "Acces securise"
|
|
|
|
#AuthType Basic
|
|
|
|
#Require valid-user
|