Hosting a CGI without Apache


Using Netscape iPlanet with Resin

Netscape's iPlanet is a popular Web server on the Unix platform and works as a viable front-end Web server for Resin's servlet engine. In this section, we look at configuring Resin to interface with Netscape. We assume that you have already installed the Netscape server.

  • Step 1—You need to compile the plug-in for Netscape, which is called caucho_nsapi.so. The first step is to run the ./configure application:

     ./configure --with-netscape=/usr/local/netscape/<https-hostname> 

    We assume that you installed Netscape in /usr/local/netscape. The value for -with-netscape must point to the scripts directory of the installation.

  • Step 2—When the configure application is finished, build the plug-in with the make command.

  • Step 3—The make automatically performs the necessary setup for Netscape.

  • Step 4—Modify resin.conf to use the application directory /usr/local/netscape/htdocs.

To test the installation, start Netscape and Resin. Refer to the previous section, "Testing IIS with Resin," but use /usr/local/netscape/htdocs as the application directory.

Running Netscape iPlanet and Windows

If you are using Netscape iPlanet on Windows, use the setup.exe application as discussed in the section "Using IIS with Resin." All of the work is performed by the setup file, and the plug-in is already compiled.




Mastering Resin
Mastering Resin
ISBN: 0471431036
EAN: 2147483647
Year: 2002
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net