cops/.htaccess

25 lines
678 B
ApacheConf
Raw Normal View History

2013-01-10 16:33:01 +02:00
<IfModule mod_xsendfile.c>
<Files fetch.php>
XSendFile on
</Files>
2013-01-10 16:33:01 +02:00
</IfModule>
###########################################
# 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
RewriteEngine on
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
###########################################
# 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