View Single Post
Old 12-10-2011, 02:08 PM   #172
Junior Member
ogarcia began at the beginning.
Posts: 5
Karma: 10
Join Date: Dec 2011
Device: Android
Originally Posted by chaley View Post
What error is in your web server error log?

There should be a folder named "George Orwell" (or something like that) in the folder pointed at by config['library_dir']. Is there? That folder should contain the folder "1984 (19)" (or something like that). Does it? Does that folder contain the file "1984 - George Orwell.epub". Does it? Does your web server have read permission on all these folders and files?
The only error is the 404 not found:
2011/12/10 20:11:32 [error] 27913#0: *986 open() "/var/www/books/htdocs/index.php/book_format/3/Linux_Pocket_Guide___Daniel_J__Barrett.pdf" failed (20: Not a directory), client:, server:, request: "GET /index.php/book_format/3/Linux_Pocket_Guide___Daniel_J__Barrett.pdf HTTP/1.1", host: "", referrer: ""

And yes, the library_dir contains this folder and the file.

I think that is the translation. The server looks for /index.php/book_format/19/1984___George_Orwell.epub and think that index.php is a folder.

I think that this must be rewrited to something also /index.php?book=book_format/19/1984___George_Orwell.epub to work. But I don't know the rewrite rule.

Can you help me?.


Last edited by ogarcia; 12-10-2011 at 02:13 PM. Reason: Added 404 error description
ogarcia is offline   Reply With Quote