Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-15-2011, 06: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, 09: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: 25,419
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
look at the calibre server logs from Preferences->sharing over the net
kovidgoyal is offline   Reply With Quote
Old 04-16-2011, 10: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, 244 views)
HughMcC is offline   Reply With Quote
Old 04-16-2011, 10: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: 25,419
Karma: 4961459
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 offline   Reply With Quote
Old 04-16-2011, 10: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
Old 09-29-2011, 04: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, 03: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, 06:10 PM   #8
rickhan
Enthusiast
rickhan began at the beginning.
 
Posts: 25
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
Reply

Tags
content server, url rewrite, whs, whs 2011

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Howto: Running Calibre Content server on Windows Startup sherman Calibre 13 03-01-2013 03:47 PM
Calibre Content Server statiiq Calibre 12 09-05-2012 01:27 AM
calibre content server only. nesvarbu Calibre 5 02-18-2011 03:40 AM
Calibre Content Server TonytheBookworm Calibre 2 09-07-2010 09:47 PM
content server in calibre bruceOz Calibre 1 04-16-2010 04:23 AM


All times are GMT -4. The time now is 02:56 PM.


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