setting apache to works with the download/1/XXX.epub link :
the .htaccess :
Quote:
RewriteEngine on
RewriteOptions inherit
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?id=$1&type=$2 [L]
|
if you have not mod_xsendfile, in the config file simply set :
$config['cops_x_accel_redirect'] = "location";
the download link now works with apache