Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2009, 08:23 PM   #1
RoninTech
Groupie
RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.
 
RoninTech's Avatar
 
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
Reverse Proxying Stanza

Is anyone doing this with a recent build? I just did this with calibre and another webserver on my Ubuntu box. The other web server works fine which shows that the reverse proxying is working, however if I go to the calibre page I see this:



If I look at the stanza feed, the top level looks OK but links go off into the weeds as "/stanza/..." doesn't go anywhere. For example from the top level of the feed:

PHP Code:
  <entry>
    <
title>By Author</title>
    <
id>urn:uuid:fc000fa0-8c23-11de-a31d-0002a5d5c51b</id>

    <
updated>2009-11-09T00:38:34+00:00</updated>
    <
link type="application/atom+xml" href="/stanza/?sortby=byauthor"/>
    <
content type="text">Books sorted by Author</content>
  </
entry
Also my apache error log gets lots of these (ip's edited):

Quote:
[Mon Nov 09 18:12:15 2009] [error] [client myclient] File does not exist: /var/www/html/static, referer: http://mydomain/lib/
Any ideas Kovid? I imagine its something to do with the links to "static"
RoninTech is offline   Reply With Quote
Old 11-10-2009, 11:04 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have to set up reverse proxying to correctly forward URLs.
kovidgoyal is online now   Reply With Quote
Advert
Old 11-10-2009, 11:17 AM   #3
RoninTech
Groupie
RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.
 
RoninTech's Avatar
 
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
Yeah, I have. It works fine for other servers I'm running, just not for my Calibre install for some reason.
RoninTech is offline   Reply With Quote
Old 11-10-2009, 11:20 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm no expert on apache but your error seems to indicate that apache is prepending the default documentroot to urls before sending them on to the calibre server
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse Language Translation Direction? markeb Kindle Formats 3 03-04-2010 08:01 PM
How to move books from Stanza on pc to Stanza on iphone? ensyed Apple Devices 3 11-18-2009 06:14 AM
Unutterably Silly Reverse Prank Call NatCh Lounge 16 05-28-2009 02:03 PM
reverse display output? LDB Sony Reader 0 08-10-2008 11:14 PM
Reverse engineer HandStory clips Aragorn Reading and Management 3 04-01-2003 06:40 PM


All times are GMT -4. The time now is 12:15 PM.


MobileRead.com is a privately owned, operated and funded community.