From 52393002b096f6fe4def2a8109a0e6432ef1d368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 30 Jan 2013 23:51:16 +0100 Subject: [PATCH] Add another XSendFile use case on Wamp. Solution by mariosipad. See http://www.mobileread.com/forums/showpost.php?p=2400853&postcount=281 --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index bda6f1c..e3948c9 100644 --- a/.htaccess +++ b/.htaccess @@ -11,6 +11,12 @@ #XSendFile On #XSendFileAllowAbove on +########################################### +# On WAMP one user had to add this line in his httpd.conf +# None of the abose was working +########################################### +#XSendFilePath + RewriteEngine on RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]