Quote:
Originally Posted by dannyb78
I'm running cops in a freenas 9.2.1.3 jail, with apache 2.2
mod_rewrite is installed and module is loaded
|
Strange the .htaccess supplied with COPS should handle it fine :
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^download/(\d*)/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&db=$2&type=epub [L]
RewriteRule ^download/(\d*)/(\d*)/.*\.(.*)$ fetch.php?data=$1&db=$2&type=$3 [L]
RewriteRule ^download/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&type=epub [L]
RewriteRule ^download/(\d*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
</IfModule>
Is cops installed in directory (mydomain.com/cops/index.php) or with a subdomain (cops.mydomain.com/index.php) ?