Add some comment in the htaccess. Thanks to Stéphane
This commit is contained in:
parent
8906430b13
commit
2134661ee7
16
.htaccess
16
.htaccess
|
@ -2,5 +2,21 @@
|
||||||
XSendFile on
|
XSendFile on
|
||||||
</Files>
|
</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
|
RewriteEngine on
|
||||||
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
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
|
||||||
|
|
Loading…
Reference in a new issue