XBMC default web interface not working behind reverse proxy => should I share my fix?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
xxxnelly Offline
Senior Member
Posts: 154
Joined: Dec 2010
Reputation: 1
Post: #11
Perfect, Thanks.

--
Frontend : OpenELEC PVR runnig on Acer Revo 3700
Backend : Ubuntu 11.10 running with TVHeadend 1 x DVB-T, 1 x Dual DVB-S2
find quote
steve1977 Online
Posting Freak
Posts: 1,577
Joined: Dec 2006
Reputation: 0
Post: #12
(2012-08-12 15:53)Montellese Wrote:  Thanks for letting me know. Fixed in https://github.com/xbmc/xbmc/commit/a058...edaeb19c4a

I am using the August monthly of pre-Frodo and it is still not working. Anyone has success with it?

Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 12 GB DDR3 | 256 GB SSD, 40 TB (1 x 4 TB, 6 x 3TB, 9 x 2 TB)
HTPC 1: Apple Mac Mini (mid-2011) | Intel Core i5 2.5 GHz | 4GB DDR3 | 500 GB
HTPC 2: Apple Mac Mini (mid-2007) | Intel Core 2 Duo 2.0 GHz | 4 GB DDR2 | 16 GB SSD
find quote
steve1977 Online
Posting Freak
Posts: 1,577
Joined: Dec 2006
Reputation: 0
Post: #13
Just tried it and it is somewhat fixed. I can access web interface now over reverse proxies. Still having issues with the JSONRPC though. Please see below:

My settings:

<Location /xbmc/>
ProxyPass http://192.168.1.105:8080/
ProxyPassReverse http://192.168.1.105:8080/
</Location>

<Location /xbmc/jsonrpc>
ProxyPass http://192.168.1.105:8080/jsonrpc
ProxyPassReverse http://192.168.1.105:8080/jsonrpc
</Location>


Using this, xbmc is accessible when accessing my-URL/xbmc. When trying to access jsonrpc, I get the following message, which doesn't look bad, but is different from when accessing directly without reverse proxies:

<html><head><title>JSONRPC</title></head><body>JSONRPC active and working</body></html>

Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 12 GB DDR3 | 256 GB SSD, 40 TB (1 x 4 TB, 6 x 3TB, 9 x 2 TB)
HTPC 1: Apple Mac Mini (mid-2011) | Intel Core i5 2.5 GHz | 4GB DDR3 | 500 GB
HTPC 2: Apple Mac Mini (mid-2007) | Intel Core 2 Duo 2.0 GHz | 4 GB DDR2 | 16 GB SSD
find quote
Post Reply