Add another XSendFile use case on Wamp. Solution by mariosipad.
See http://www.mobileread.com/forums/showpost.php?p=2400853&postcount=281
这个提交存在于:
父节点
f4578376b2
当前提交
52393002b0
共有 1 个文件被更改,包括 6 次插入 和 0 次删除
|
|
@ -11,6 +11,12 @@
|
||||||
#XSendFile On
|
#XSendFile On
|
||||||
#XSendFileAllowAbove 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>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
||||||
|
|
|
||||||
正在加载…
添加表格
添加链接
在新工单中引用