[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app
HTPC Manager and all my other usenet apps (including my apache server) are running in the same jail.

Here's a section from my apache24/extras/httpd-vhost.conf
Code:
<location /nzbget>
  ProxyPreserveHost On
  ProxyPass http://192.168.1.100:6789/nzbget
  ProxyPassReverse http://192.168.1.100:6789/nzbget
</location>

If I enter mydomain.com, no port, and the webdir of /nzbget into the nzbget section of the HTPC Manager config page, the RPC calls from within HTPC manager don't work (no latest downloads, no history, etc...) because it's trying to contact http://mydomain.com:/nzbget (notice the colon after com) and that shows up in my logs, although if I click on the NZBget tab at the top of the page it proxies me to the actual NZBget page instead of the NZBget page within HTPC Manager.

If I use the local IP and port number of nzbget in the HTPC manager config, the RPC calls still don't work, and if I click the NZBget tab it still brings me directly to NZBget and not the NZBget page within HTPC Manager.

If I change the location directive from /nzbget to /nzbget1 the RPC calls now work. The problem arises when I click on the NZBget link at the top of the NZBget page, because the external website that it tries to connect to is http://192.168.1.100:6789 which obviously won't work outside of my network.

How can I make it so that the RPC calls still work within HTPC Manager and when I click the tab it brings me to the page within HTPC Manager but when I click the link on the NZBget page within HTPC Manager it will bring me to http://mydomain.com/nzbget instead of http://192.168.1.100:6789/nzbget? Do I have to use one of the rewrite functions in Apache?
Reply
 
Thread Rating:
  • 7 Vote(s) - 4.71 Average


Messages In This Thread
RE: [WIP] HTPC-Manager - by _Mikie_ - 2012-03-23, 16:03
RE: [WIP] HTPC-Manager - by dakpunne - 2012-03-23, 16:20
RE: [WIP] HTPC-Manager - by Capt.Insano - 2012-03-23, 20:10
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-23, 20:42
RE: [WIP] HTPC-Manager - by ICDeadPpl - 2012-03-23, 21:40
RE: [WIP] HTPC-Manager - by Chromdome93 - 2012-03-24, 00:15
RE: [WIP] HTPC-Manager - by UnderCoverUZI - 2012-03-24, 00:56
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 14:14
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 15:25
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 15:29
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 15:40
RE: [WIP] HTPC-Manager - by ICDeadPpl - 2012-03-24, 15:51
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 16:04
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 17:29
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-24, 17:42
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-24, 18:27
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 19:10
RE: [WIP] HTPC-Manager - by Phantisy - 2012-03-24, 18:35
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 18:40
Re: [WIP] HTPC-Manager - by rflores2323 - 2012-03-24, 18:50
RE: [WIP] HTPC-Manager - by ICDeadPpl - 2012-03-24, 21:01
RE: [WIP] HTPC-Manager - by dakpunne - 2012-03-24, 21:20
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 21:18
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-24, 21:24
RE: [WIP] HTPC-Manager - by paavoris - 2012-03-24, 22:00
RE: [WIP] HTPC-Manager - by sb206 - 2012-03-24, 22:03
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-24, 22:10
RE: [WIP] HTPC-Manager - by _Mikie_ - 2012-03-24, 22:48
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-24, 23:31
RE: [WIP] HTPC-Manager - by Livin - 2012-03-24, 23:54
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 00:18
RE: [WIP] HTPC-Manager - by Livin - 2012-03-25, 00:44
RE: [WIP] HTPC-Manager - by karandras24 - 2012-03-25, 00:45
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 01:19
RE: [WIP] HTPC-Manager - by Livin - 2012-03-25, 01:50
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 02:05
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-25, 14:14
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-25, 14:16
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 14:34
RE: [WIP] HTPC-Manager - by shlag - 2012-03-25, 16:45
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-25, 19:49
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-25, 20:22
RE: [WIP] HTPC-Manager - by TeKo - 2012-03-25, 21:24
RE: [WIP] HTPC-Manager - by SyphOn - 2012-03-26, 07:00
RE: [WIP] HTPC-Manager - by ErlendSB - 2012-03-25, 21:26
RE: [WIP] HTPC-Manager - by shlag - 2012-03-25, 21:41
HTPC Manager Install - by menage - 2013-07-24, 15:27
stats for remote pc - by dannyb78 - 2014-07-11, 13:22
RE: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app - by brando56894 - 2015-06-08, 20:09


Logout Mark Read Team Forum Stats Members Help
[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app4.717