![]() |
Cisco CNS Network Registrar Installation Guide, 5.0
|
||
Installing the Web User Interface
![]() |
|||
Table of ContentsInstalling the Web User InterfaceInstallation Prerequisites
Using a Netscape Web Server Using a Microsoft Internet Information Server Web Server Opening the Web Browser Installing the Web User InterfaceNetwork Registrar 5.0 provides a Web-based user interface (Web UI) that you install on a Web server. The Web UI is in addition to the Network Registrar graphical user interface (GUI) and command line interface (CLI). The Web UI lets you run status reports. Access to the Web UI is from a URL to a login page. This document describes how to install and open the Web UI on a Web server. Installation PrerequisitesTo install the Network Registrar Web UI, be sure you select and install the prerequisite software, including the Web server and the Web browser. You need:
Using a Netscape Web ServerBefore you install the Web UI on the Netscape Enterprise or FastTrack server, verify that: 1. The Netscape server is correctly configured to use Perl scripts for CGI. 2. The Secure Socket Layer (SSL) is enabled. Netscape Windows InstallationTo install a Netscape Web server running a Windows operating system, follow these steps: Step 1 Install Network Registrar 5.0, the Netscape FastTrack or Enterprise server, and Perl 5.0, then reboot. Step 2 Locate the following folders in the WebUI folder of the Network Registrar installation:
Step 3 Create these folders in the Web server's installation folder: a. cgi-bin (set the path to this folder in the Shell CGI Directory setting for the Web server, with the prefix /cgi-bin) b. In the docs folder: javascript Step 4 Copy the Login.htm file in the WebUI\docs folder to the Web server's docs folder. Step 5 Copy the .pl files in the WebUI\perl folder to the Web server's cgi-bin folder you created. Step 6 Edit the .pl files to change the default location from #!/usr/bin/perl to where Perl is installed; for example, #!C:\\perl\\bin\\perl. Step 7 Copy the folders in the WebUI\javascript folder to the docs\javascript folder you created. Step 8 Restart the Web server. Netscape Solaris InstallationTo install a Netscape Web server running the Solaris operating system, follow these steps: Step 1 Install Network Registrar 5.0, the Netscape FastTrack or Enterprise server, and Perl 5.0, then reboot. Step 2 Locate the following subdirectories in the WebUI directory of the Network Registrar installation:
Step 3 Create these directories: a. cgi-bin (set the path to this folder in the Shell CGI Directory setting for the Web server, with the prefix /cgi-bin) b. In the docs directory: javascript Step 4 Copy the Login.htm file in the WebUI/docs directory to the Web server's docs directory. Step 5 Copy the .pl files in the WebUI\perl directory to the Web server's cgi-bin directory you created. Step 6 If Perl is installed somewhere other than in the default location (#!/usr/bin/perl), then edit the .pl files, modifying the bang (!) path to point to where Perl is installed. Step 7 Copy the folders in the WebUI/javascript directory to the docs\javascript directory you created. Step 8 Restart the Web server. Using a Microsoft Internet Information Server Web ServerBefore you install the Web UI on the Microsoft Internet Information Server (IIS), verify that: 1. The IIS server is correctly configured to use Perl scripts for CGI, with Standard I/O enabled. 2. The Secure Socket Layer (SSL) is enabled. Things to Know About IISThere a few things you need to know about IIS to configure the Web UI properly:
Configuring IIS to Use PerlThis section assumes that you successfully installed IIS and ActivePerl on your server. To use ActivePerl with IIS, follow these steps: Step 1 Run the IIS 4.0 Microsoft Management Console: C:\winnt\system32\mmc.exe Step 2 A tree-based representative of your Web server appears. You can apply these changes to the entire Web server, a particular site, or a virtual directory by highlighting the selection on the left hand side. Then select Action > Properties.
Step 3 Click the Configuration button to open the Application Config page. Step 4 Select the App Mappings tab, then click the Add button. This opens the Add/Edit Application Extension Mapping page. Step 5 To run Perl as a CGI application, enter the full path to perl.exe followed by %s %s. For example: D:\perl\bin\perl.exe %s %s When the script is executed, the first %s is replaced by the full path and the second %s is replaced by the script parameters, similar to argv[0] and argv[1]. To run Perl for ISAPI, enter the full path to the PerlIS.DLL file. Step 6 In the Extension field, enter .pl and any other extensions you want to use for Perl scripts. Step 7 Click the OK buttons to get back out to the main page. Your configuration is now complete. You can now place your CGI scripts in the cgi-bin directory (with the proper extension) and IIS will relate them to the Perl Interpreter. IIS Windows InstallationTo install an IIS Web server running a Windows operating system, follow these steps: Step 1 Install Network Registrar 5.0, the IIS software (and Perl 5.0, if necessary), then reboot. Step 2 Locate the following folders in the WebUI folder of the Network Registrar installation:
Step 3 Create these folders in the Web server's installation folder: a. wwwroot\javascript b. wwwroot\cgi-bin Step 4 Copy the Login.htm file in the WebUI\docs folder to the Web server's wwwroot folder. Step 5 Copy the folders in the WebUI\javascript directory to the wwwroot/javascript folder. Step 6 Copy the .pl files in the WebUI\perl folder to the Web server's wwwroot\cgi-bin folder. Step 7 Restart the Web server. Opening the Web BrowserAfter completing the previous steps, you should be able to bring up your Web browser. When you enter your machine name or URL, /login.htm, the login page, should appear. Here is a sample URL: <http://localhost/login.htm >
|
|||
|
|