04-15-2011, 07:38 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2011
Device: Kindle 3
|
Calibre Content Server and Windows Home Server 2011
I’ve been trying to integrate Calibre Content Server with Windows Home Server 2011.
WHS 2011 has default web sites of “Site” which does not require authentication and “Remote” which does require authentication. To begin with I created a folder “Calibre” under “Sites” and the created the necessary rules in (IIS) URL Rewrite as detailed in the Calibre manual. When I browse to “xxx.homeserver.com/calibre” I get the Calibre Content Server page, everything works fine and I can browse by Publisher, Authors, All Books etc. This is great for internal home use but to enable access from the web, users need to be authenticated. So I moved the “Site\Calibre” directory to “Remote\Calibre” and adjusted the URL Rewrite rules to match. I can now browse to “xxx.homeserver.com/remote” remotely and log on to the WHS. When I browse to “xxx.homeserver.com/remote/calibre” I get the Calibre Content Server home page and I can browse by Authors, Ratings, Publishers, Tags and Series as before. … however when I try to browse to All Books or Newest I get an “Errorarseerror” message. Anybody got any ideas what this issue might be? When using the “Remote” default site I needed to create a “Remote\Calibre\Browse directory to make the Content Server “Home” button work. I initially thought this was a hint that the issue may be related to permissions in the “Remote\Calibre” directory but if that were the case surly I should not be able to browse by all the other categories??? |
04-15-2011, 10:35 AM | #2 |
creator of calibre
Posts: 44,553
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
look at the calibre server logs from Preferences->sharing over the net
|
Advert | |
|
04-16-2011, 11:32 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2011
Device: Kindle 3
|
Hi Kovid
Thanks for the quick reply. I've had a look in logs you pointed me too and can see when I browse "All Books" from the non autenticaed site there is a POST logged that is missing from log from the autenticated site. (extract from logs attached) I'm confused as to why this should be as I thought permissions were inherited. I dont have a great knowledge of IIS and there is probably some subtelty I'm missing, perhaps around the URL Rewrite rules and ASPX as I'm seeing the following message when I monitor traffic in Fiddler - https://192.168.0.200/remote/ErrorPa.../booklist_page I'd be grateful for any advise anbody can offer. |
04-16-2011, 11:49 AM | #4 |
creator of calibre
Posts: 44,553
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Unfortunately, I know absolutely nothing about IIS (I'm an Apache guy), so I cannot help you further, sorry. Hopefully, someone familiar with IIS will be able to comment.
|
04-16-2011, 11:55 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2011
Device: Kindle 3
|
Thanks anyway Kovid.
Keep up the good work - Calibre and the Content Server are really excellent. |
Advert | |
|
09-29-2011, 05:13 PM | #6 |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2011
Device: Kindle
|
Has anyone gotten this to work? I'm very interested in setting this up on my WHS 2011. I've got an extensive Calibre collection and would love to integrate it with WHS. I wonder if there is a walk through for just the internal home use part. I don't have to access it from anywhere but that would be icing on the cake!
|
12-16-2011, 04:16 PM | #7 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2011
Device: ipad
|
Can you please explain this in more detail? I am not sure exactly how to format the rules or where I should be writing them. I have tried using the ARR and URL ReWrite wizards and manually adding web.config files in the root directories and can't seem to get anywhere.
|
11-15-2013, 07:10 PM | #8 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jul 2010
Device: PC
|
Server 2012SE Calibre integration
Should be similar to WHS 2011, but with a newer version of IIS and ARR.
I've just started to work on this. First question, is Calibre running as a service so that you don't need a user logged on in a Windows session? I'd think that would be the first step. Then use ARR to set up a reverse proxy to the Remote Web Access Web site for the server. (server 2012SE is the successor to WHS 2011 and SBS 2011) |
10-01-2014, 08:26 AM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Oct 2014
Device: none
|
According to the posted log your rewrite rule is wrong. The request is sent to https://192.168.0.200/calibre but should be sent to http://192.168.0.200/calibre. Strange, that it works for http get commands - maybe calibre takes it as http also when it was https?
|
Tags |
content server, url rewrite, whs, whs 2011 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A Howto: Running Calibre Content server on Windows Startup | sherman | Calibre | 26 | 02-17-2019 11:37 PM |
Calibre Content Server | statiiq | Calibre | 18 | 11-04-2016 04:12 PM |
calibre content server only. | nesvarbu | Calibre | 5 | 02-18-2011 04:40 AM |
Calibre Content Server | TonytheBookworm | Calibre | 2 | 09-07-2010 10:47 PM |
content server in calibre | bruceOz | Calibre | 1 | 04-16-2010 05:23 AM |