Results 1 to 7 of 7

Thread: [REQUEST] Configurable URL base

  1. #1
    Join Date
    Apr 2013
    Location
    Melbourne, Australia
    Posts
    6

    [REQUEST] Configurable URL base

    Hopefully this is something that won't be hard to implement. I'd like to be able to configure a base URL in the web console so I can set up IIS URL rewrite/reverse proxy on my home server to enable external access through a sub folder without needing to open up another port on my router.

    For example locally on my network I would like to be able to access the web console on http://server:8877/npvr/
    Then externally I'd be access through https://public.address.com/npvr/

    I've already got this set up for sickbeard, sabnzbd, couchpotato and utorrent and it works quite well and in addition I can use built in IIS authentication so I only need a single login for all services. For all of these program's you can configure a "urlbase" (except for utorrent but as it has a fixed base of "gui" I can still work with it). Being able to do this with NextPVR/Wb Console with be great.

    Thanks,
    Ben

  2. #2
    Join Date
    Sep 2004
    Location
    Auckland, NZ
    Posts
    5,818
    should be able to do this in IIS or UltiDev. the web console doesn't have its own server or any knowledge of what its running on (which means it can run on any asp.net server, IIS or default of UltiDev), but means you have to do it manually.

    in IIS its very simple (i do this regularly at my day job for webapps), I'm sure its just as simple in Ultidev (just google "ultidev host name")

  3. #3
    Join Date
    Apr 2013
    Location
    Melbourne, Australia
    Posts
    6
    Ok so I I've gone into the UltiDev config and set the Web Console site to be in a virtual directory called "npvr" (which is what I need so that IIS on my public ip can reverse proxy it). I can now access web console internally on my network on http://servername:8877/npvr/ but there are two initial problems.

    1. When logging in it redirects to http://servername:8877 without the virtual directory name on the end. I can get past this though by adding the virtual directory name back on the end as it remembers the login session.

    2. The bigger problem is that it doesn't show any device status or the guide. If I change the config back to not having the virtual directory then the device status and guide work again.

    Any ideas where I look next to fix this?

    Thanks

  4. #4
    Join Date
    Sep 2004
    Location
    Auckland, NZ
    Posts
    5,818
    1. is likely a bad redirect, I'll look into this and fix it.

    2. is possibly another bad url request, where its using the root host instead of the virtual directory. you could test this by opening chrome tools and looking at the network traffic.

    I'll try and rush a new build out the door. I was working on scanning for channels, but this can wait as its not hugely urgent.

    I've just moved housed so been busy setting everything up there.

  5. #5
    Join Date
    Apr 2013
    Location
    Melbourne, Australia
    Posts
    6
    Great. Looking forward to the next update. No need to rush it out, moving house is far more important.

    Thanks

  6. #6
    Join Date
    Jun 2017
    Location
    Seattle
    Posts
    5
    I know this is a REALLY old thread, but did anyone get the base URL working by chance?

  7. #7
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,647
    Quote Originally Posted by seanvree View Post
    I know this is a REALLY old thread, but did anyone get the base URL working by chance?
    Web Console was a short lived alternative to the built in web server that never was fully developed before support was dropped.

    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •