url-prefix doesn't work on calibre-server 3

Bug #1698565 reported by Fernando Sancho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
New
Undecided
Unassigned

Bug Description

I have my calibre library served through Apache under /calibre prefix. After upgrading to 3.0 it has stopped working. All i can see in my browser is:

Failed to communicate with "interface-data/init?1497721877527", with status: [404] Not Found

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 404 Not Found
Not Found
The requested URL /interface-data/init was not found on this server.</p

Looking at my apache access_log i can see requests without /calibre prefix

[17/Jun/2017:19:51:24 +0200] "GET /interface-data/init?1497721877527 HTTP/1.1" 404 462 "http://xxxx.xxx.xxx/calibre" "Mozilla/5.0 (Linux; Android 7.1.2; Nexus 5X Build/N2G47W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36"
(END)

I have launched calibre-server with this parameters

calibre-server --daemonize --log=/tmp/calibre.log --enable-auth --disable-local-write --port=7070 --url-prefix=/calibre --pidfile=/var/run/calibre/calibre-server.pid /home/calibre/calibre

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.