![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Content Server --url-prefix
First off... AWESOME FEATURE!
1 question and a small bug... Is there a way to specify this command line argument somewhere so that when the Calibre GUI starts the server it starts with this argument? There is a bug in the rewrite of the main browse page. The icons are written correctly, but the paths they link to are not. For example: Code:
<li><a title="Browse books by All books" href="/browse/category/allbooks"> </a><img src="/books/browse/icon/book.png" alt="All books" /><span class="label">All books</span></li> Thanks again! Dan |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Bug will be fixed in the next release, and not, URL Prefix is a command line only option.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
Hi,
I am using 0.7.33 with the --url-prefix option on Linux. The command line I am using is Code:
/usr/bin/calibre-server \ --port=8765 \ --with-library=/home/calibre/export \ --url-prefix=/calibre Code:
The path '/calibre' was not found. Traceback (most recent call last): File "/usr/lib/calibre/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/usr/lib/calibre/cherrypy/_cperror.py", line 227, in __call__ raise self NotFound: (404, "The path '/calibre' was not found.") Any idea how I might start debugging this issue? Regards, Hakan |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
I should have included that in my bug report as well (but forgot due to all of the different things I was trying). For some reason the root server automatically displays the /browse directory, but the server/prefix, it doesn't. If you go to server/prefix/browse, you should get the front page.
Dan |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
fixed in next release.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Just picked up the new version.
That fixed the issues I had with the prefix not showing in the browse html file for some of the hrefs as well as getting http://server/prefix to work fine. However, when I browse the library, once I get to a screen that should show books, I just get an ERROR where the book list should be. Dan |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,223
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
works for me, what error do you get.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Dumb user error.. I don't have it working, but it wasn't "working" in the earlier version either. Turns out my proxy is having an issue when the UI is trying to access /prefix/brose/booklist_page. I think this might be a POST and I don't have something configured right.
Works fine internally, and the old UI works fine through the proxy. Dan |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Fixed it. Configuration error I had in the ISAPI filter on my proxy box. Thanks, and sorry to raise a bug where none exists.
![]() Dan |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Server Library Selection (also vhosts/url error questions) | mmseng | Calibre | 9 | 10-30-2010 02:27 AM |
Possible content server changes (@starson17) | chaley | Calibre | 5 | 09-04-2010 10:43 AM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |
New Content Server feature | tbergman | Calibre | 3 | 11-06-2009 03:18 PM |
Content Server | thibaulthalpern | Calibre | 5 | 04-28-2009 12:56 PM |