Administration Guide
Overview Guide
Installation Guide
Previous Next Contents


Configuring a Netscape Web Server
The procedure in this section assumes the web server is on the same machine where Netscape Application Server is installed.

To manually install the Netscape web connector plug-in

  1. First, to enable CGI, go to the Netscape program group and click Administer Netscape Servers.
  2. You must have Administrator privileges of the web server.

  3. Enter the administrator ID and password, and click OK.
  4. On the Netscape Server Selector screen, click on the name of your machine.
  5. On the main menu bar across the top of the page, click Programs.
  6. On the CGI directory screen under URL prefix, type cgi-bin.
  7. Under CGI directory, enter the cgi-bin path, which is typically the following:
  8. Netscape Enterprise Server 2.0:

    <drive_letter>:\Netscape\Server\docs\cgi-bin

    For Netscape Enterprise Server 3.0 and higher:

    <drive_letter>:\Netscape\SuiteSpot\docs\cgi-bin

    Now, you are ready to configure the NSAPI plug-in.

  9. Edit the obj.conf file in the web server configuration directory, which is usually the following:
  10. Netscape Enterprise Server 2.0:

    <drive_letter>:\Netscape\Server\httpd-<machinename>\config

    For Netscape Enterprise Server 3.0 and higher:

    <drive_letter>:\Netscape\SuiteSpot\https-<machinename>\config

    Tip

    Make a copy of the obj.conf file before modifying it.

  11. At the end of the Init section of the obj.conf file, add the following as lines:
  12. Init fn="load-modules" funcs=gxrequest,gxlog,gxinit,gxredirect,gxhtmlrequest shlib="<path to KES bin dir>\<library>"

    Init fn="gxinit"

    The following table shows what you can specify for shlib:

    Platform
    Web Server
    shlib =
    NT
    Netscape Enterprise Server 2.0.1
    Netscape Enterprise Server 3.0
    Netscape Fasttrack Server 2.0
    <KIVA root dir>\bin\gxnsapi200.dll
    NT
    Netscape Enterprise Server 3.5.1
    <KIVA root dir>\bin\gxnsapi351.dll
    UNIX
    Netscape Enterprise Server 2.0.1
    Netscape Fasttrack Server 2.0.1
    <KIVA root dir>/gxlib/libgxnsapi201.so
    UNIX
    Netscape Enterprise Server 3.0
    Netscape Enterprise Server 3.5.1
    <KIVA root dir>/gxlib/libgxnsapi30.so

  13. In the Object name="cgi" section or sections, insert the following line immediately before the line Service fn="send-cgi":
  14. Service fn="gxrequest"

  15. Using the instructions in steps 8 and 9, edit the backup obj.conf file in the following directory:
  16. For Netscape Enterprise Server:

    <drive_letter>:\Netscape\SuiteSpot\https-<machinename>\conf_bk

    UNIX only

  17. Modify the start and stop scripts as follows:
  18. In the start script:

    GX_ROOTDIR=/home/diep/opt/KIVAsdk export GX_ROOTDIR

    LD_LIBRARY_PATH=/home/diep/opt/KIVAsdk/
    gxlib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH

    In the stop script, add -9 after "kill" and - before the process file. For example:

    kill -9 -\Qcat /home/ns201/https-diep/logs/pid\Q

  19. Restart the web server.
 

© Copyright 1998 Netscape Communications Corporation