NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Forum Issues & Documentation v
« Previous 1 … 7 8 9 10 11 Next »
New Entry for the Wiki

 
  • 0 Vote(s) - 0 Average
New Entry for the Wiki
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#1
2005-08-08, 03:40 AM
When I installed GBPVR I already had a outside facing website running with Apache on my Windows box (the same box I turned into my PVR) and I wanted to be able to hit the WebInterface as a sub directory off my main site, not going to some weird port. So here's how I got the Web Interface working through my Apache server instead of having it run by GBPVR.

I downloaded the Enchanced Web Admin from http://gbpvr.com/pmwiki/pmwiki.php/Utili...edWebAdmin and extracted it to a folder on my web machine.

I ran the config.exe and set the password for the web admin and then unchecked it so that the web admin wouldn't be running through GBPVR.

I installed the Apache CLI from http://httpd.apache.org/cli/ and then modified my httpd.conf with the following lines.

Code:
LoadModule aspdotnet_module modules/mod_aspdotnet.so

AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb

vbproj vsdisco webinfo

AliasMatch "^/(?i)aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)"

"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"

<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
    Options FollowSymlinks
    Order allow,deny
    Allow from all
</Directory>

<Directory "C:web/gbweb/bin">
    Options FollowSymlinks
    Order allow,deny
    Allow from all
</Directory>

AspNetMount /gbpvr "C:/Program Files/devnz/gbpvr/web"
Alias /gbpvr "C:/Program Files/devnz/gbpvr/web"
<Directory "C:/Program Files/devnz/gbpvr/web">
    Options FollowSymlinks Indexes Includes ExecCGI
    Order allow,deny
    Allow from all
    DirectoryIndex login.aspx index.aspx default.htm default.aspx
</Directory>

You'll have to set up your paths to match your setup and what you want the directory to look like.

Restart your Apache web service and then you can access your gbpvr web admin via the path your setup (in my case it's /gbpvr) using the password you setup in the config.exe.
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#2
2005-08-11, 08:52 PM
Good job!!!
It's availible at Tips/SetupApacheCLI

(Just mail me if you'd like a password to be able to edit the wiki yourself.)
mlanglois
Offline

Junior Member

Posts: 24
Threads: 6
Joined: Apr 2005
#3
2005-08-25, 10:29 AM
I followed the instructions, but I get the following error message when I try to access the webadmin:

Quote:Server Error in '/gbpvr' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: File or assembly name NativeUtilities, or one of its dependencies, was not found.

Source Error:

Line 256: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


Source File: c:\winxppro\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258

Assembly Load Trace: The following information can be helpful to determine why the assembly 'NativeUtilities' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = NativeUtilities
(Partial)
LOG: Appbase = file:///C:/Program Files/devnz/gbpvr/web
LOG: Initial PrivatePath = bin
Calling assembly : System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===

LOG: Private path hint found in configuration file: plugins.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NativeUtilities
LOG: Attempting download of new URL file:///C:/WINXPPRO/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/gbpvr/5d2ea027/20f6e5dd/NativeUtilities.DLL.
LOG: Attempting download of new URL file:///C:/WINXPPRO/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/gbpvr/5d2ea027/20f6e5dd/NativeUtilities/NativeUtilities.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/devnz/gbpvr/web/bin/NativeUtilities.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NativeUtilities, Version=1.0.2054.11353, Culture=neutral, PublicKeyToken=null


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

I tried to comment the problematic line 258 in machine.config, but it only brought other error messages. Moreover, everything works just fine when webadmin is activated in GBPVR config.

Any idea?
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#4
2005-08-26, 02:11 AM
I received errors similar to that if I put the nativeutilities.dll into the gbpvr\web\bin folder (go figure). Here's the list of files I have in my gbpvr\web\bin folder:

07/06/2005 06:16 AM 159,744 GBPVRBackendCommon.dll
07/06/2005 06:12 AM 57,344 GBPVRPublic.dll
07/06/2005 06:16 AM 81,920 GBPVRRecordingService.exe
15/07/2005 03:30 PM 61,440 gbweb.dll
15/07/2005 03:30 PM 108,032 gbweb.pdb
11/09/2003 12:23 PM 65,536 OvTool.dll
mlanglois
Offline

Junior Member

Posts: 24
Threads: 6
Joined: Apr 2005
#5
2005-08-26, 08:42 AM
Indeed, without nativeutilities.dll in that folder it works perfectly!! Thanks a lot!
goelectric
Offline

Junior Member

Posts: 17
Threads: 1
Joined: Nov 2005
#6
2005-11-07, 05:52 PM
When you re-start the GB-PVR recorder (e.g when you change the config) the NativeUtilities.dll gets automatically re-copied into your devnz\gbpvr\web\bin folder - which stops Apache working again.

normanr proposed the following work-around:-
Copy your working gbpvr\web directory somewhere else and set up the httpd.conf to use the new location instead of the gbpvr\web one.

In case its not obvious to others - here's what I did.

I copied my working
"C:\Program Files\devnz\gbpcr\web" folder (e.g without the NativeUtilities.dll in) to another directory ( in my case "D:\Program Files\devnz\gbpcr\web") then edited my httpd.conf to use the new copied folder instead of the original and it works great.

So here are the changed lines in my httpd.conf :-

AspNetMount /gbpvr "d:/Program Files/devnz/gbpvr/web"

Alias /gbpvr "d:/Program Files/devnz/gbpvr/web"

<Directory "d:/Program Files/devnz/gbpvr/web/bin">
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>

<Directory "d:/Program Files/devnz/gbpvr/web">
Options FollowSymlinks Indexes Includes ExecCGI
Order allow,deny
Allow from all
DirectoryIndex login.aspx index.aspx default.htm default.aspx
</Directory>
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2005-11-09, 01:54 PM
i also wanted to have an easier way to get to the web interface without having to remember the port etc. so i just made a dir called PVR off my main web site and made an index.html that had a redirect in it like:
Quote:<HTML>
<HEAD>
<META http-equiv="refresh" content="1; URL=http://yoursitename.com:7647/gbpvr/Login.aspx">
</HEAD>
<P ALIGN="CENTER"><A HREF="http://yoursitename.com:7647/gbpvr/Login.aspx"><FONT SIZE="6" FACE="Arial, Helvetica">Login to GBPVR</FONT></A>
</HTML>
and access it using yoursitename.com/PVR...goes straight to login
but if the site you're at has web page redirection blocked ,just click the link on the page..
just seemed easiest thing to do..Smile
[plus my cheeseball web server doesn't have many configurability options]
still good to know it can be run with apache Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
superdad
Offline

Junior Member

Posts: 36
Threads: 8
Joined: Mar 2005
#8
2005-11-29, 04:58 PM
PBS, and that will work fine, but unfortunately I primarily hit my web site from work where they only allow access to the default ports (80, 443, 8080 etc) so it wasn't an option for me.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Upcoming wiki changes v7 mvallevand 0 512 2024-11-04, 06:59 PM
Last Post: mvallevand
  Document uidroid on wiki gEd 2 1,677 2024-08-27, 04:30 PM
Last Post: mvallevand
  Version 5 wiki mvallevand 3 4,907 2019-10-29, 08:11 PM
Last Post: mvallevand
  Wiki HIP guide divide by zero error Haggis 3 8,474 2012-06-26, 09:54 PM
Last Post: steeb
  New Wiki pages steeb 38 39,368 2010-02-03, 11:00 AM
Last Post: liteswap
  New Wiki Look & skin? steeb 5 10,511 2010-01-15, 02:04 PM
Last Post: systemshark
  Filters on Wiki? steeb 4 9,221 2010-01-14, 02:41 AM
Last Post: steeb
  Sticky for Wiki? steeb 12 17,830 2009-12-16, 08:45 PM
Last Post: systemshark
  Wiki page for gbpvr tray? McBainUK 17 17,596 2009-12-13, 12:34 AM
Last Post: pBS
  Glossary on Wiki steeb 54 26,874 2009-12-05, 09:37 PM
Last Post: steeb

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

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

Linear Mode
Threaded Mode