Adding location information

The redirector plug-in is a Netscape Application Programming Interface (NSAPI) extension. The plug-in file names are defined in Table 4-2.

Table 4-2: Web server plug-in library names

Platform

File name

iPlanet

libjeas_httpd40.dll

Netscape 6.1

libjeas_httpd60.dll

Netscape 3.6.x

libjeas_httpd36.dll

Sun Java System

libjeas_httpd40.dll

To load and initialize the plug-in, you must edit either the obj.conf file (iPlanet and Netscape) or the magnus.conf file (Sun Java System), and add the locations of both the plug-in file, and the redirector configuration file, which is used by the redirector to map incoming client requests to EAServer HTTP listeners.

WARNING! Make a backup of obj.conf, and when editing the file, do not include any extra spaces, tabs, or return characters. The Netscape Web server may not start if obj.conf contains a configuration error.

Add these lines at the top of the configuration file, obj.conf (iPlanet and Netscape), or magnus.conf (Sun Java System), located in the config subdirectory of your Web server installation:

Init fn="load-modules" shlib="PLUGIN_PATH" funcs="conn_init,conn_service"
Init fn="conn_init" configfile="CONFIG_FILE_PATH"

Where PLUGIN_PATH is the complete path and name of the NSAPI plug-in you are creating, and CONFIG_FILE_PATH is the complete path and name of the redirector configuration file. The redirector configuration file can be any name and location you choose, but must be defined by the configfile attribute.

NoteUse forward slashes in the configuration file regardless of platform.

The following samples illustrate the correct syntax for each Web server type; each example uses “neptune” as the name of the Web server, and “conn_config” as the name of the configuration file.

iPlanet:

Init fn="load-modules" shlib="WEB_SERVER_HOME/bin/https/libjeas_httpd40.dll"
funcs="conn_init,conn_service" 

Init fn="conn_init"
configfile="c:/webserver/https-neptune/config/conn_config"

Netscape:

Init fn="load-modules" shlib="WEB_SERVER_HOME/bin/https/libjeas_httpd36.dll"
funcs="conn_init,conn_service" 

Init fn="conn_init"
configfile="c:/webserver/https-neptune/config/conn_config"

Sun Java System:

Init fn="load-modules" shlib="WEB_SERVER_HOME/bin/https/libjeas_httpd40.dll"
funcs="conn_init,conn_service" 

Init fn="conn_init"
configfile="c:/webserver/https-neptune/config/conn_config"