@everaejo
Ok. First change config_local.php so that it looks like this (or change back some changes you made):
Code:
<?php
if (!isset($config))
$config = array();
/*
* The directory containing calibre's metadata.db file, with sub-directories
* containing all the formats.
* BEWARE : it has to end with a /
*/
$config['calibre_directory'] = '/share/Gezin/CalLib/';
/*
* made 2 changes:
* no need for internal directory
* no need for x-sendfile (is X-sendfile installed on your QNAP?
* if not, I might explain your problems.
*/
$config['calibre_internal_directory'] = '';
$config['cops_x_accel_redirect'] = "";
/*
* Catalog's title
* there can never ba a problem with "at home" ;-)
*/
$config['cops_title_default'] = "thuis";
/*
* use URL rewriting for downloading of ebook in HTML catalog
* See README for more information
* 1 : enable
* 0 : disable
*/
$config['cops_use_url_rewriting'] = "0";
?>
Just leave all the other settings in their default state.
Then:
.htaccess : I created an .htaccess file in the /share/Gezin/CalLib folder, but I deleted it.
There already is a .htaccess file in the COPS directory. Leave as is for now.
In the apache.conf file, I added the /share/Gezin/CalLib in a < directory>statement, giving access to all.
Should not be necessary (I never needed it to make COPS work).
If
http://<ip-of-your-QNAP>/calibre/checkconfig.php
gives no errors, it should work!
Enjoy COPS
NB: If you use an iPad consider using
Marvin as an e-book reader, its great!