01-14-2010, 04:58 PM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
Integrating Content Server with existing webserver?
Ok so here's my deal:
I have a Kindle, and I'd like to try to use it to access the Calibre Content Server. Apparently the Kindle web browser cannot access nonstandard ports. So I need to either run the content server on port 80 or forward my external port 80 to calibre's port 8080 (or whatever). That's not a problem. I could do that if I wanted to. Here's the problem. I already run a webserver on my external port 80, and thus cannot forward it to Calibre. So my options are looking like: - Get a second external IP address/router (yeah right) - Stop my webserver just to run Calibre's content server (no thanks) - Get the Kindle to access non-80 ports (not likely) - Get Calibre's content server to somehow work together with my existing webserver on port 80. Here's what I'm thinking, but I'm not entirely sure if/how this can be done. It seems like through some combination of redirection and/or virtual hosts I could get the kindle to be redirected from mydomain.com:80/calibre/ straight to the calibre CS, hopefully without the kindle needing to realize it's shifted ports (because calibre will still be running on a non-standard port on a separate machine from the webserver, unless someone has come up with a fix for that). If anyone has any more detailed info on how I could do this, or can think on any other options I'm not thinking of, pray tell. |
01-14-2010, 06:36 PM | #2 |
creator of calibre
Posts: 44,750
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Apache at least has something called reverse proxying whereby it transparently redirects requests to another webserver running on a different port, in combination with its mod_rewrite you should be able to achieve this.
|
Advert | |
|
01-14-2010, 07:26 PM | #3 |
Member
Posts: 10
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
I see. Thanks. I'll look into it.
|
01-14-2010, 11:08 PM | #4 |
Member
Posts: 10
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
It took some doing, but I got it working! Thanks!
This is sweet, now I can just go to mydomain.com/calibre/ on mah Kindle and have access to all my books anytime for free |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server | statiiq | Calibre | 18 | 11-04-2016 04:12 PM |
Calibre Content Server | TonytheBookworm | Calibre | 2 | 09-07-2010 10:47 PM |
Troubleshooting Kindle having trouble refreshing and loading existing content | echobase | Amazon Kindle | 2 | 09-07-2010 05:29 AM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 05:07 PM |
Content Server | thibaulthalpern | Calibre | 5 | 04-28-2009 01:56 PM |