NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 22 23 24 25 26 … 47 Next »
How do you control the server name?

 
  • 0 Vote(s) - 0 Average
How do you control the server name?
rwalker777
Offline

Member

Posts: 100
Threads: 22
Joined: May 2008
#1
2009-01-20, 11:24 PM
I have VLC streaming working. I am able to get it from another machine on the LAN. However any stream that I try to pull from outside the network does not work, as the .VLC file has a URL containing the actual machine name of the computer running GBPVR (in this case the machine is called PVR). So when I am accessing using my dyndns.org address it doesn't stay on that name it gives back something like http://PVR:7647/. Is there an easy way to correct this? The alternative would be to setup a proxy rewrite rule in Apache and solve it that way.

Thanks,
Roy
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2009-01-21, 12:14 AM
rwalker777 Wrote:I have VLC streaming working. I am able to get it from another machine on the LAN. However any stream that I try to pull from outside the network does not work, as the .VLC file has a URL containing the actual machine name of the computer running GBPVR (in this case the machine is called PVR). So when I am accessing using my dyndns.org address it doesn't stay on that name it gives back something like http://PVR:7647/. Is there an easy way to correct this? The alternative would be to setup a proxy rewrite rule in Apache and solve it that way.

Thanks,
Roy

Not really familiar with how Apache would handle this....normally people use the web server that runs with GBPVR and then have an external dynamic dns setup (i.e. dyndns.org) then port forward the streaming ports in your router to point to the gbpvr machine....so when you go to your_madeup_name.dyndns.org which really points to your external ip address your router will send the request to your gbpvr machine.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
rwalker777
Offline

Member

Posts: 100
Threads: 22
Joined: May 2008
#3
2009-01-21, 12:24 AM
UncleJohnsBand Wrote:Not really familiar with how Apache would handle this....normally people use the web server that runs with GBPVR and then have an external dynamic dns setup (i.e. dyndns.org) then port forward the streaming ports in your router to point to the gbpvr machine....so when you go to your_madeup_name.dyndns.org which really points to your external ip address your router will send the request to your gbpvr machine.

Let's say I am somewhere besides home, I access the EWA with http://myname.dyndns.org:7647/GBPVR/. I click on stream and it provides me with the .vlc or .m3u file and launches VLC or Windows Media Player. The problem is that the link isn't in the form of http://myname.dyndns.org:7648/stream it's gives the computer name (PVR in this case), so like this http://PVR:7648/GBPVR. How do I set the remote URL so that the .vlc or .m3u file is properly set?

Thanks,
Roy
rwalker777
Offline

Member

Posts: 100
Threads: 22
Joined: May 2008
#4
2009-01-21, 12:27 AM
rwalker777 Wrote:Let's say I am somewhere besides home, I access the EWA with http://myname.dyndns.org:7647/GBPVR/. I click on stream and it provides me with the .vlc or .m3u file and launches VLC or Windows Media Player. The problem is that the link isn't in the form of http://myname.dyndns.org:7648/stream it's gives the computer name (PVR in this case), so like this http://PVR:7648/GBPVR. How do I set the remote URL so that the .vlc or .m3u file is properly set?

Thanks,
Roy

Just realized my problem, I am using an Apache proxy (as I have many other Web interfaces I need to get to) to get to the GBPVR. Ie Apache proxies the traffic to the PVR machine, so the PVR machine doesn't see the URL I called it with. Sad Gonna have to do a rewrite rule.

Roy
rwalker777
Offline

Member

Posts: 100
Threads: 22
Joined: May 2008
#5
2009-01-21, 12:33 AM
rwalker777 Wrote:Just realized my problem, I am using an Apache proxy (as I have many other Web interfaces I need to get to) to get to the GBPVR. Ie Apache proxies the traffic to the PVR machine, so the PVR machine doesn't see the URL I called it with. Sad Gonna have to do a rewrite rule.

Roy

Actually this is the Proxy.conf file I use in Apache (seems to work, the ProxyPreserveHost did the trick):

<Location />
Order Deny,Allow
Deny from All
Allow from 192.168.1.0/24
Allow from 127.0.0.1
AuthName "rwalker.dyndns.org"
AuthType Digest
# AuthType Basic
AuthUserFile /etc/apache2/htpasswd
Require valid-user
Satisfy Any
</Location>

ProxyPass /gbpvr/ http://pvr:7647/gbpvr/
ProxyPassReverse /gbpvr/ http://pvr:7647/gbpvr/
ProxyPreserveHost On
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#6
2009-01-21, 04:28 AM
rwalker777 Wrote:Just realized my problem, I am using an Apache proxy (as I have many other Web interfaces I need to get to) to get to the GBPVR. Ie Apache proxies the traffic to the PVR machine, so the PVR machine doesn't see the URL I called it with. Sad Gonna have to do a rewrite rule.

Roy

Yep...figured it had to be something like that since the logic in EWA and the Streaming will return whatever url is coming in.....so I knew something was changing it somewhere.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Server Error in '/' Application smajor 19 16,871 2017-10-27, 12:57 PM
Last Post: mvallevand
  Server Error in '/' Application [streaming failure] oldman 3 3,047 2017-02-04, 12:48 AM
Last Post: UncleJohnsBand
  Server Error when settign a manual recording in NEWA martinu 2 2,338 2017-01-23, 01:30 AM
Last Post: UncleJohnsBand
  Internal Server Error SilverTiger 5 3,200 2016-07-24, 04:03 PM
Last Post: UncleJohnsBand
  Server Error in "/" Application ? Lone_Stranger 1 2,412 2016-02-19, 02:10 AM
Last Post: UncleJohnsBand
  Server Error in '/' Application mdenecke 1 2,916 2016-01-13, 03:33 AM
Last Post: UncleJohnsBand
  Server Error when trying to schedule with NEWA in 336? jksmurf 5 3,740 2015-12-12, 12:34 AM
Last Post: jksmurf
  NEWA v2.15 Server Error (NPVR 3.3.8) NIS1169 15 5,457 2015-01-10, 02:37 AM
Last Post: UncleJohnsBand
  NEWA Server Error with v3.2.9 nitram 5 2,996 2014-03-31, 03:59 PM
Last Post: nitram
  Bug: NEWA 2.11 - Manual recording returns server error '/' haste18 3 1,842 2014-02-08, 01:12 AM
Last Post: UncleJohnsBand

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

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

Linear Mode
Threaded Mode