Try OpenEdge Now
skip to main content
Administration
WebSpeed Administration : Configuring WebSpeed in Windows : Setting up WebSpeed on the Web server machine : Configuring Netscape Web servers for NSAPI Messengers
 
Configuring Netscape Web servers for NSAPI Messengers
To configure a Netscape Web server to work with the WebSpeed NSAPI Messenger, you must edit the Netscape Web server configuration file (obj.conf).
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 50. 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