seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

COPS (Calibre OPDS PHP Server) HTML main script opens rather than COPS web GUI. #388

Closed echofire26 closed 6 years ago

echofire26 commented 6 years ago

Apologies as I'm fairly new to a lot of this. I followed instructions for setting up COPS per https://pimylifeup.com/raspberry-pi-ebook-server/. I followed all instruction and even resolved a problem I had on a previous install by resetting the Apache2 port. However, after getting everything installed to the best of my knowledge, every time I try and access x.x.x.x/ebooks it instead downloads or opens a copy of COPS (Calibre OPDS PHP Server) HTML main script rather than the web GUI. Any suggestions or idea would be greatly appreciated - apologies if was the wrong venu for this but I can't seem to find anything on this anywhere else.

seblucas commented 6 years ago

That usually mean that apache does not know how to handle PHP script. It's been a while since I used Apache, maybe check mod_php ?

echofire26 commented 6 years ago

Thanks - not sure what I screwed up still - but I rebuilt it from scratch again and this time it's working with nginx....now I just have to figure out why I'm getting a 404 error when I try and download something.

seblucas commented 6 years ago

Great I'll close this one please create a new issue if needed