From 2134661ee7873915b12ad80b4cdd4246fbe53ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Mon, 10 Dec 2012 06:14:33 +0100 Subject: [PATCH] =?UTF-8?q?Add=20some=20comment=20in=20the=20htaccess.=20T?= =?UTF-8?q?hanks=20to=20St=C3=A9phane?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .htaccess | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.htaccess b/.htaccess index 8edb378..5d1082e 100644 --- a/.htaccess +++ b/.htaccess @@ -2,5 +2,21 @@ XSendFile on +########################################### +# 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