2011-02-03, 02:05
Hi,
I am not really sure I should file a bug report for this, so checking here for opinion. I have a fix available, but I might be the only person in the world doing that, so...
My PC with XBMC runs several HTTP services who have their own webserver. I made all of them accessible to the outside world through a reverse proxy in HTTPS (i.e a single host which forwards requests to one server or the other based on the URL. For example https://myproxy/xbmc/index is forwarded to /index on the xbmc server on port 8080.)
What I noticed is that the default XBMC web interface had several non-relative folders, which I had to hack to get the whole thing working. I think my changes are correct since not only the reverse proxy access works, but also the direct access.
Also, I noticed that the jsonrpc calls are hard-coded to an absolute URL "/jasonrpc" which requires a bit of "dirty work" in the reverse proxy configuration.
I can share my changes for a patch. For the "/jsonrpc" hard-coded url, I could open a bug report or document my reverse proxy configuration (as it works even if it is not clean).
Is there any interest besides myself?
V.
I am not really sure I should file a bug report for this, so checking here for opinion. I have a fix available, but I might be the only person in the world doing that, so...
My PC with XBMC runs several HTTP services who have their own webserver. I made all of them accessible to the outside world through a reverse proxy in HTTPS (i.e a single host which forwards requests to one server or the other based on the URL. For example https://myproxy/xbmc/index is forwarded to /index on the xbmc server on port 8080.)
What I noticed is that the default XBMC web interface had several non-relative folders, which I had to hack to get the whole thing working. I think my changes are correct since not only the reverse proxy access works, but also the direct access.
Also, I noticed that the jsonrpc calls are hard-coded to an absolute URL "/jasonrpc" which requires a bit of "dirty work" in the reverse proxy configuration.
I can share my changes for a patch. For the "/jsonrpc" hard-coded url, I could open a bug report or document my reverse proxy configuration (as it works even if it is not clean).
Is there any interest besides myself?
V.