Add some comment in the htaccess. Thanks to Stéphane

这个提交包含在:
Sébastien Lucas 2012-12-10 06:14:33 +01:00
父节点 8906430b13
当前提交 2134661ee7
共有 1 个文件被更改,包括 16 次插入0 次删除

查看文件

@ -2,5 +2,21 @@
XSendFile on
</Files>
###########################################
# 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