View Single Post
Old 11-10-2012, 09:15 AM   #162
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 346
Karma: 37761
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Quote:
Originally Posted by jillmess View Post
My setup: ReadyNAS Ultra 2 (Debian) - Apache 2.2.6, PHP 5.3.1

My calibre library is in a directory OUTSIDE my web location.

Situation 1: Calibre library mounted as a directory inside web.
- Downloads via browser on windows PC work
- Downloads via browser on android tablet work
- Downloads via kindle browser open the file instead of downloading.
I don't have a kindle so I can't be sure but I'll try to update htaccess to force the download.

Quote:
Originally Posted by jillmess View Post
Situation 2: COPS config changed to full path of calibre library outside web.
- Downloads via browser on windows PC work
- Downloads via browser on android tablet download fetch.php instead of the file
- Downloads via kindle browser work

Can anyone help with what I should be looking at to get this working on all devices - preferably using Situation 2.

Thanks
Jill
I spend a lot of time .... reading .... googling .... to finally find a small typo in fetch.php. It's fixed on github.

You can download the updated fetch.php there : https://raw.github.com/seblucas/cops/master/fetch.php

Thanks taking the time to test.
vlad59 is offline   Reply With Quote