Try OpenEdge Now
skip to main content
WebSpeed Essentials
Configuring WebSpeed : Configuring a WebSpeed Messenger : Editing the Netscape Web server configuration file
 

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. The following table describes the changes you must make to obj.conf.
Table 6. 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/OpenEdge/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
* Restarting the Netscape Web server