Adding location information

The redirector plug-in is a Netscape Application Programming Interface (NSAPI) extension. The plug-in file name is libjeas_httpd40.so.

To load and initialize the plug-in, edit 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.

Add these lines at the top of magnus.conf:

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 sample illustrates the correct syntax for the Sun Java System Web server. The example uses “neptune” as the name of the Web server, and “conn_config” as the name of the configuration file.

Sun Java System:

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

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