WebSpeed
Installation and
Configuration Guide


Configuring Netscape Web Servers For NSAPI Messengers

To configure a Web server to work with the WebSpeed NSAPI Messenger, you must edit the Netscape Web server configuration file (obj.conf).

Editing the Netscape Web Server Configuration File

A Netscape Web server uses information in its configuration file to recognize the WebSpeed NSAPI Messenger. The configuration file for the Netscape Enterprise Server is named install-dir\https-host-name\config\obj.conf. (If you are using the Fast Track Server, see your Web server documentation for the name of the server’s configuration file.)

Make a copy of the file before you modify it so that you can restore the original configuration. Table 7–2 describes the changes you must make to obj.conft.

Table 7–2: Netscape Web Server Configuration 
New Line
Description
Init fn=load-modules
shlib="pathname" 
funcs=WSNSAinit,WSNSAdefault,
WSNSAshutdown,WSNSAwebspeedCheck 
This pathname is the absolute path to the Messenger DLL, wsnsa.dll. The Init line must appear after any existing Init commands. This line informs the Web server that it must load the Messenger DLL at the end of the initialization process, and that the named functions are external entry points within the DLL.
Init fn=WSNSAinit 
This Init line must appear as the last Init command. It informs the Web server that the named function is an external entry point within the DLL.
NameTrans fn=WSNSAwebspeedCheck 
This NameTrans line must appear before any existing NameTrans commands. You must add it within the block of commands delimited by <Object name=default> and </Object>. This line informs the Web server to handle WebSpeed requests properly.
Service method=(GET|POST|HEAD) 
fn=WSNSAdefault 
This Service line must appear before any existing Service commands. You must add it within the block of commands delimited by <Object name=default> and </Object>. This line informs the Web server to handle WebSpeed requests properly.

Each line you add to obj.conf must be on a single line. Do not add line breaks within a command line. Use forward slashes (/) in pathnames. Here is an excerpt from a sample obj.conf file (the additions that you must make for the WebSpeed Messenger are bold):

Init ...
Init ...
# The following directive is a single line; it contains no line breaks
Init fn=load-modules shlib="c:/Program Files/Progress/bin/wsnsa.dll"
     funcs=WSNSAinit,WSNSAdefault,WSNSAshutdown,WSNSAwebspeedCheck
Init fn=WSNSAinit 
<Object name=default>
AuthTrans ...
AuthTrans ...
NameTrans fn=WSNSAwebspeedCheck
NameTrans ...
NameTrans ...
PathCheck ...
PathCheck ...
ObjectType ...
ObjectType ...
Service method=(GET|POST|HEAD) fn=WSNSAdefault
Service ...
Service ...
AddLog ...
AddLog ...
Error ...
</Object>...
...
...
... 

Applying the Configuration Changes

Access the Netscape Server’s browser-based Admin panel and apply the configuration changes before restarting the Web server.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095