Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-15-2011, 07:38 AM   #1
HughMcC
Junior Member
HughMcC began at the beginning.
 
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???
HughMcC is offline   Reply With Quote
Old 04-15-2011, 10:35 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: 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
kovidgoyal is online now   Reply With Quote
Advert
Old 04-16-2011, 11:32 AM   #3
HughMcC
Junior Member
HughMcC began at the beginning.
 
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.
Attached Files
File Type: txt Calibre_Content_Server_Logs.txt (3.6 KB, 973 views)
HughMcC is offline   Reply With Quote
Old 04-16-2011, 11:49 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: 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.
kovidgoyal is online now   Reply With Quote
Old 04-16-2011, 11:55 AM   #5
HughMcC
Junior Member
HughMcC began at the beginning.
 
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.
HughMcC is offline   Reply With Quote
Advert
Old 09-29-2011, 05:13 PM   #6
j.oody
Junior Member
j.oody began at the beginning.
 
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!
j.oody is offline   Reply With Quote
Old 12-16-2011, 04:16 PM   #7
68rustang
Junior Member
68rustang began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2011
Device: ipad
Quote:
Originally Posted by HughMcC View Post
...created the necessary rules in (IIS) URL Rewrite as detailed in the Calibre manual...
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.
68rustang is offline   Reply With Quote
Old 11-15-2013, 07:10 PM   #8
rickhan
Enthusiast
rickhan began at the beginning.
 
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)
rickhan is offline   Reply With Quote
Old 10-01-2014, 08:26 AM   #9
domax64
Junior Member
domax64 began at the beginning.
 
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?
domax64 is offline   Reply With Quote
Reply

Tags
content server, url rewrite, whs, whs 2011


Forum Jump

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


All times are GMT -4. The time now is 01:25 AM.


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