NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 74 75 76 77 78 … 159 Next »
Webservers sharing a port

 
  • 0 Vote(s) - 0 Average
Webservers sharing a port
flyswatta
Offline

Senior Member

Posts: 660
Threads: 39
Joined: Aug 2005
#11
2008-02-04, 07:27 PM
By using the ProxyPass you leave your other apps running in whatever application they were in before - that way you're not cobbling something together. You're just letting the Proxy server go serve the request on behalf of the client, then the proxy returns the results to the client.
[SIZE="1"]GBPVR Media Center: 2 TwinHan DTV 3250's (OTA HD), 1 PVR150MCE U-Verse STB), AMD 3200+, 1 GB RAM, 250/300 GB HDDs, ATI x800
2 MediaMVPs [/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#12
2008-02-04, 08:00 PM
So you're saying I could run IIS with ASP, behnd Apache?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
flyswatta
Offline

Senior Member

Posts: 660
Threads: 39
Joined: Aug 2005
#13
2008-02-04, 08:09 PM
McBainUK Wrote:So you're saying I could run IIS with ASP, behnd Apache?

More like alongside it. Usually you use ProxyPass with another server in the mix. Let's use this as an example:

Firewall (port 80 open) --> webserver (apache w/ProxyPass) --> other web server (IIS, GBPVR, Utorrent, whatever)

The request from the client goes to port 80 on the firewall, gets sent to the Apache web-server. The apache web server then proxies the request, in other words, the apache server initiates a request on behalf of the client to the "other web server". The result gets returned to the Apache web server, who in turn, replies to the client. The important distinction is that the client never directly accesses the "other web server".

This concept should work on the same host. I've got an apache web server already set up. I'll play with it and see if I can receive an inbound port 80 request and ProxyPass it to my GBPVR web interface (on port 8080 for me). If I get it working, I'll post the exact syntax for you.
[SIZE="1"]GBPVR Media Center: 2 TwinHan DTV 3250's (OTA HD), 1 PVR150MCE U-Verse STB), AMD 3200+, 1 GB RAM, 250/300 GB HDDs, ATI x800
2 MediaMVPs [/SIZE]
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#14
2008-02-04, 08:22 PM (This post was last modified: 2008-02-04, 08:24 PM by Koenie.)
Yes, That is (more or less) what I do. My incoming server is apache, dealing with some straightforward web pages and forwarding the EWA stuff to the GBPVR webserver (I used to run IIS for this but after a reinstall last week I do not get it to work any more - needs some work). Some other applications to their respective servers.

Currently I have the EWA working trough a rewriterule though as I did not manage to proxy it. I use subdomains to detect where the request has to go but do not manage to proxy for GBPVR.

Flyswatta could you explain how to get the proxy working. incomming is gbpvr.domain.com which has to go to localhost:7467/gbpvr. Till now I do not manage to get this working as the proxy stumbles over the addition of a directory. Any ideas how this could be made to work? (this way I do not need to keep port 7467 open).

Flyswatta you were quicker than me so just take is as a second for the question.Big Grin
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
Torque
Offline

Senior Member

Posts: 712
Threads: 68
Joined: Jan 2005
#15
2008-02-04, 08:36 PM
In IIS, you can could create a "website" for each port and point the home directory to the app for that port. Then setup up redirects on the default site, port 80, so you don't have to type in the port numbers.

http://www.mcbainuk.com/gbpvr (on port 80) redirects to:
http://www.mcbainuk.com:7654 (root = /gbpvr)

http://www.mcbainuk.com/utorrent redirects to:
http://www.mcbainuk.com:8080 (root = /utorrent)
MY PVR:
OS: Windows 7 Home Premium
Hardware: Silverstone LC13-E, Athlon II 250, Asrock 785GMH, 2GB Corsair RAM, 250GB WD HDD, 1TB WD Black, Hauppauge PVR-150 MCE tuner (s-video to Dish STB), HDHomeRun (ATSC x2), MCE2004 for Rx, USB-UIRT for Tx, Sony VL600 Remote, 36" Sony Wega HD CRT on DVI to embedded ATI HD4200.
TV Service: Dish Network and Antenna Pics 'n Details
flyswatta
Offline

Senior Member

Posts: 660
Threads: 39
Joined: Aug 2005
#16
2008-02-04, 09:00 PM (This post was last modified: 2008-02-04, 09:50 PM by flyswatta.)
Okay, got it. Apparently there is a "fat finger" in the httpd.conf file if you use xampp :mad:

Anyway, for Apache 2.2, uncomment the following LoadModule lines:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.soLoadModule

At the bottom of your httpd.conf file, add the following (between the lines).
Change the port numbers to your port numbers Wink

#--------------------------------------------
ProxyRequests Off

<Proxy *>

Order deny,allow
Allow from all

</Proxy>

# GBPVR Web UI
ProxyPass /gbpvr http://localhost:8080/gbpvr
ProxyPassReverse /gbpvr http://localhost:8080/gbpvr

# uTorrent Web UI
ProxyPass /gui http://localhost:85/gui
ProxyPassReverse /gui http://localhost:85/gui
#--------------------------------------------

WARNING: the request to gbpvr is coming from the localhost, so if you don't have security set to prompt from login on local LAN, then everyone on the internet will get right in to your web ui.
[SIZE="1"]GBPVR Media Center: 2 TwinHan DTV 3250's (OTA HD), 1 PVR150MCE U-Verse STB), AMD 3200+, 1 GB RAM, 250/300 GB HDDs, ATI x800
2 MediaMVPs [/SIZE]
flyswatta
Offline

Senior Member

Posts: 660
Threads: 39
Joined: Aug 2005
#17
2008-02-04, 09:04 PM
Torque Wrote:In IIS, you can could create a "website" for each port and point the home directory to the app for that port. Then setup up redirects on the default site, port 80, so you don't have to type in the port numbers.

http://www.mcbainuk.com/gbpvr (on port 80) redirects to:
http://www.mcbainuk.com:7654 (root = /gbpvr)

http://www.mcbainuk.com/utorrent redirects to:
http://www.mcbainuk.com:8080 (root = /utorrent)

I think the idea was that port 8080 and port 7654 are blocked at the firewall. They wanted to access all of the different applications on the application native ports via the internet on port 80.
[SIZE="1"]GBPVR Media Center: 2 TwinHan DTV 3250's (OTA HD), 1 PVR150MCE U-Verse STB), AMD 3200+, 1 GB RAM, 250/300 GB HDDs, ATI x800
2 MediaMVPs [/SIZE]
Torque
Offline

Senior Member

Posts: 712
Threads: 68
Joined: Jan 2005
#18
2008-02-04, 10:20 PM
ahh yes, i read right past that. Then a proxy would be needed.

Ignore me Smile
MY PVR:
OS: Windows 7 Home Premium
Hardware: Silverstone LC13-E, Athlon II 250, Asrock 785GMH, 2GB Corsair RAM, 250GB WD HDD, 1TB WD Black, Hauppauge PVR-150 MCE tuner (s-video to Dish STB), HDHomeRun (ATSC x2), MCE2004 for Rx, USB-UIRT for Tx, Sony VL600 Remote, 36" Sony Wega HD CRT on DVI to embedded ATI HD4200.
TV Service: Dish Network and Antenna Pics 'n Details
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#19
2008-02-05, 12:31 AM
Seems a bit of an overkill to install Apache just for its proxy capabilities if you also have to run another web server (IIS or whatever) to give the ASP support. A lightweight proxy server on its own would seem more sensible.

Cheers,
Brian
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#20
2008-02-05, 08:41 AM
bgowland Wrote:A lightweight proxy server on its own would seem more sensible.
Any suggestions?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 4.0 x86 Port now available ShiningDragon 3 2,166 2011-12-02, 09:01 AM
Last Post: bgowland
  Which Head phone - with Mini USB charging port Bathman 3 1,997 2011-08-25, 08:27 AM
Last Post: bgowland
  Sharing a Folder for NPVR Recording Service mikeh49 3 2,344 2011-08-20, 11:20 PM
Last Post: mvallevand
  Sharing the NPVR folder in Windows 7 elbryyan 1 1,553 2011-01-18, 08:32 PM
Last Post: elbryyan
  2 computers sharing 2 monitors? How? pcostanza 3 1,966 2010-06-23, 03:04 PM
Last Post: scb147
  Media Art Sharing for GBPVR users? jksmurf 6 2,605 2009-11-25, 02:46 PM
Last Post: fla
  File backup and sharing sites McBainUK 6 3,145 2008-04-10, 09:32 AM
Last Post: danc
  AGP x8 port Vs. PCIE x1 port nitrogen_widget 8 7,724 2008-03-14, 01:52 PM
Last Post: nitrogen_widget
  FCC Regulation for Firewire / 1394 port on cable STB bogyver 12 5,470 2007-09-12, 11:04 PM
Last Post: carpeVideo
  sharing of video between pvrs kwheeler67 2 1,481 2007-01-15, 04:51 AM
Last Post: dvasco

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

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

Linear Mode
Threaded Mode