Change the default config for cops_x_accel_redirect to let PHP handle the
download. Should fix problem from KevNancy on IIS. Warning all Nginx users who wants to still use X-Accel-Redirect must add $config['cops_x_accel_redirect'] = "X-Accel-Redirect" in their config_local fix #33
This commit is contained in:
parent
2025bfc15e
commit
a96888c76a
3 changed files with 15 additions and 5 deletions
2
README
2
README
|
@ -121,7 +121,7 @@ configuration (cops_generate_invalid_opds_stream).
|
|||
RewriteOptions inherit
|
||||
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
||||
if you have not mod_xsendfile, in the config file simply set :
|
||||
$config['cops_x_accel_redirect'] = "location";
|
||||
$config['cops_x_accel_redirect'] = "location"; or $config['cops_x_accel_redirect'] = "";
|
||||
|
||||
* Cherokee (Thanks to Christophe) :
|
||||
* Add a Behavior of type Regular Expression : /cops/download/(.*)/.*\.(.*)$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue