Web Connection User's Guide
To install the NSAPI files, follow these steps:
- Copy the following shared library files to a directory on your Web
server's search path. (If you put them in your cgi-bin
directory, make sure this directory is in your search path.)
- abtwsan (adapter module)
- abtwsc.dll (common module)
- abtwstt.dll (TCP/IP transport module)
Note: | On HP-UX only, you can use the Netscape transport module (abtwstn) instead of
the TCP/IP transport module.
|
- Edit your operating system configuration file and include the
ABTWSI_BASENAME environment variable. This environment variable
specifies where WSI looks for configuration and error message files.
For Intel platforms, use a set statement. For example:
set ABTWSI_BASENAME=d:\webserver\cgi-bin\abtwsi
For UNIX platforms, use an export statement. For example
export ABTWSI_BASENAME=/webserver/cgi-bin/abtwsi
- Copy the following files to the directory specified by the ABTWSI_BASENAME
environment variable.
- abtwsi.cnf (configuration file)
- abtwsi.htm (error format file)
- Edit your obj.conf file:
- Before any other Init directive, add the following lines:
Init fn="init-cgi"
Init funcs="AbtWsiServerInit,AbtWsiService,AbtWsiSetPathInfo" fn="load-modules"
shlib="d:/cgi-bin/abtwsan.dll"
Init fn="AbtWsiServerInit"
- Before the default Object directive, add the following lines:
<Object name="abtwsi">
ObjectType fn="force-type" type="text/html"
Service fn="AbtWsiService"
</Object>
- In the default Object directive, after the line <Object
name="default">, add the following lines:
NameTrans fn="AbtWsiSetPathInfo" separator="/abtwsi/"
NameTrans from="/abtwsi/*" fn="assign-name" name="abtwsi"
In the above lines, the drive and directory
(d:/cgi-bin) should be the directory you copied the WSI
shared library files to. The path in the NameTrans
directives (/abtwsi/) can be any path descriptor that you want your
end users to use to invoke your Web Connection part. The string used in
the first entry must be the same as the one used in the second, but without
the trailing *.
After you install the files, you must customize the WSI configuration file
for your system. See Customizing the WSI configuration file for more information. After customizing the WSI
configuration file, proceed to Testing your installation to test and run the Web Connection interface.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]