NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 715 716 717 718 719 … 1231 Next »
Apache reverse proxy to GBPVR Web Admin

 
  • 0 Vote(s) - 0 Average
Apache reverse proxy to GBPVR Web Admin
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#1
2005-11-22, 03:59 AM (This post was last modified: 2005-11-22, 04:30 AM by David.)
I'll admit that I am not an Apache guru, but I've been playing around with reverse proxy to various resources on my network. My attempts to connect to the GBPVR Web Admin have not been successful. I usually get a 502 bad gateway error. I am using the web server built into GBPVR, but could move to IIS if that would help. The Apache server is on a Linux (Fedora) box. I am not eager to compile and install version 2.2.

Any suggestions for getting it to work?
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2005-11-22, 04:12 AM
Quote:Any suggestions for getting it to work?
Sorry, not from me.

It should work in theory, but I've not tried it, so I'm not aware of what issues you'll encounter.
drugstore_cowboy
Offline

Member

Posts: 151
Threads: 11
Joined: Jul 2005
#3
2005-11-22, 05:05 AM
David Wrote:I'll admit that I am not an Apache guru, but I've been playing around with reverse proxy to various resources on my network. My attempts to connect to the GBPVR Web Admin have not been successful. I usually get a 502 bad gateway error. I am using the web server built into GBPVR, but could move to IIS if that would help. The Apache server is on a Linux (Fedora) box. I am not eager to compile and install version 2.2.

Any suggestions for getting it to work?


Hey David,

Forget about trying to do it on an IIS server as you will do nothing else but pull your hair out. Since you are already using Apache you can look here as Superdad has posted his resolutions to running the Enhanced Web Admin Wiki Instructions or you can also look at the postings here on the
forums


This was the latest conversation on the formns regarding Apache but there were a number of others previously by Superdad Smile Good luck
_______________________________
Drugstore_Cowboy
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#4
2005-11-22, 08:39 PM
I could be wrong, but I understood that Superdad's instructions were for running the Web Admin under Apache on the same Windows box that is running GBPVR.

I have a Linux box with Apache that I am using reverse proxy to bring all my web apps under one domain name and avoiding extra open ports (as well as remembering those ports when typing URL's).
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
drugstore_cowboy
Offline

Member

Posts: 151
Threads: 11
Joined: Jul 2005
#5
2005-11-23, 02:01 AM
David Wrote:I could be wrong, but I understood that Superdad's instructions were for running the Web Admin under Apache on the same Windows box that is running GBPVR.

I have a Linux box with Apache that I am using reverse proxy to bring all my web apps under one domain name and avoiding extra open ports (as well as remembering those ports when typing URL's).


To be honest I didn't get to deep into Superdads posting as I do not run Apache since I have a seperate XP box which I use as an FTP/IIS server and I was trying to avoid running a web server on my HTPC (including the use of the internal web server you can set in the config) however, I thought that I read his posting as having another computer running Apache which he copied over the web folder too only after he had set it up on the GBPVR.
_______________________________
Drugstore_Cowboy
Tone
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Nov 2005
#6
2005-11-23, 08:19 AM
David Wrote:I'll admit that I am not an Apache guru, but I've been playing around with reverse proxy to various resources on my network. My attempts to connect to the GBPVR Web Admin have not been successful. I usually get a 502 bad gateway error. I am using the web server built into GBPVR, but could move to IIS if that would help. The Apache server is on a Linux (Fedora) box. I am not eager to compile and install version 2.2.

Any suggestions for getting it to work?

Got this working.

RewriteEngine On

<Directory "/htdocs">
--cut--
RewriteRule ^gbpvr/(.*) http://10.0.0.18:8080/gbpvr/$1 [P]
</Directory>

In this case gb-pvr runs on 10.0.0.18 (internal) on port 8080 (not the default one, this is set in gb-pvr config)

I connect to https://EXTERNAL.domain.com/gbpvr/Login.aspx
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#7
2005-11-24, 04:19 PM
I must be on my way to becoming an Apache guru. I had not used the rewriterule before, but I can now successfully reproduce the "502 Bad Gateware" error. Plus, I can produce a "404 file not found" error at will. :eek:

The 502 error includes the following text:
"The proxy server received an invalid response from an upstream server."

I've tried adding several additional configuration commands, including "ProxyBadHeader Ignore". Still no dice.

I can browse to the web admin from the Linux box just fine, so no network issues that I can see. I am also successfully using ProxyPass to connect to one other application on a non-standard port.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
SickBoy
Offline

Senior Member

Posts: 340
Threads: 53
Joined: May 2005
#8
2006-09-22, 01:49 PM
Old thread, but here's my status.

I added this to my httpd.conf on my Gentoo file/web server:

ProxyPass /gbpvr/ http://soundgarden:7777/
ProxyHTMLURLMap http://soundgarden:7777 /gbpvr

<Location /gbpvr/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /gbpvr/
ProxyHTMLURLMap /gbpvr /gbpvr
RequestHeader unset Accept-Encoding
</Location>

where "soundgarden:7777" is the name of the machine running GBPVR (that the Linux machine can resolve the hostname on) and the port it's running on. I can seem to browse the admin guide just fine and download the complete recording files, but the m3u streaming files still point to "soundgarden:7777" which, obviously, will not work outside my internal network. Any ideas on "fixing" these to make 'em work? I noticed a "streaming port" option in the config that was set to something other than what I'm actually using, but even if I open that port externally, the m3u file still won't properly resolve the dns. Help?

Side note, at some point today my web admin interface lost its stylesheet or something, it's coming through as all plaintext and links now, still useable but crude looking. **edit** oops, theme changed itself somehow... changed it back...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2006-09-22, 05:05 PM
You might be best to post this question in the web admin thread in the developers section, that way you can be sure UJB will see your question.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  how to use IR server suite with GBPVR zaprat 82 63,403 2018-11-18, 05:32 PM
Last Post: Len_Lekx
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,747 2014-05-15, 12:59 AM
Last Post: lchiu7
  GBPVR and NPVR jigster99 2 5,229 2013-02-16, 01:50 AM
Last Post: jigster99
  BBC HD / BBD 1 HD in GBPVR Pob 21 13,790 2012-10-05, 05:42 PM
Last Post: Pob
  tv guide empty in gbpvr works in pvrx2 slowtech 37 17,623 2012-08-27, 04:00 PM
Last Post: rscheller
  Unused gbpvr returns to life with minimal effort KS4UA 0 2,397 2012-03-18, 02:07 AM
Last Post: KS4UA
  Last version of GBPVR download? matthrolf 8 6,585 2011-11-16, 09:22 AM
Last Post: MixMan
  Is card emulation as easy with gbpvr as with npvr? martint123 3 3,483 2011-10-20, 07:13 PM
Last Post: martint123
  GBPVR Webserver does not work - Windows 7 Pro, 64 Bit Ijaja 6 4,577 2011-10-19, 07:21 PM
Last Post: Basher52
  GBPVR will not wake up XP computer from sleep keith_leitch 8 4,981 2011-10-10, 08:26 PM
Last Post: keith_leitch

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode