Add another XSendFile use case on Wamp. Solution by mariosipad.

See http://www.mobileread.com/forums/showpost.php?p=2400853&postcount=281
This commit is contained in:
Sébastien Lucas 2013-01-30 23:51:16 +01:00
parent f4578376b2
commit 52393002b0

View file

@ -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 <YourCalibrePath>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]