Servertec | NSAPI Gateway

Content Introduction Release Notes Features FAQs Requirements Installation iServer Apache Gateway ISAPI Gateway NSAPI Gateway CGI Gateway Java Gateway Add-ons How To Change Log Future Plans Knowledge Base Documentation Samples Sales Legal Feedback |
4. Use the instructions below to configure the Netscape FastTrack, Enterprise Server or other Application/Web Servers supporting NSAPI to use iServer as their Servlet Engine. Install and configure iServer. Install and configure Netscape FastTrack, Enterprice Server or other Application/Web Server that supports NSAPI. Add the following Mime-Type to the mime.types file. type=magnus-internal/servlet exts=servlet Add the following lines in the Init section before <Object name=default> to the obj.conf file. Init fn=load-modules funcs=process_request shlib="path"
   path | the path to the iServer NSAPI Gateway, normally c:/iws/bin/win32/nsapiGateway.dll.
5. Add the following lines in the NameTrans section in <Object name=default> to the obj.conf file. NameTrans fn=assign-name from=alias* name=igateway
   alias | the URI used to access the iServer NSAPI Gateway, normally /servlet.
6. Add the following lines in the Service section in <Object name=default> to the obj.conf file. Service fn=process_request method="(methods)" type=magnus-internal/servlet
   methods | the request methods to use, normally GET|POST|HEAD.
7. Add the following lines after <Object name=default> to the obj.conf file. <Object name="igateway"> ObjectType fn=force-type type=magnus-internal/servlet Service fn=process_request method="(methods)" type=magnus-internal/servlet debug=boolean server=host_name:port interval=interval retry=retry </Object>
   boolean | whether to make a dump of the request/response to \temp\nsapiGateway.log [ true | false ], normally false.
   host_name | the name of the host computer running iServer. If iServer is running on the same computer as the iServer NSAPI Gateway then localhost can be used.
   interval | the number of milliseconds to wait before attempting to retry a workgroup server that is down, a value greater than or equal to 50 ms, normally 1000 ms.
   methods | the request methods to use, normally GET|POST|HEAD.
   port | is the port number iServer is listening on, normally port 8080.
   retry | the number of workgroup server to try to connect to, normally 3.
Notes: A separate Server parameter must be entered for each workgroup server. Restart the computer.
top of page
| Copyright © 1997-2000 Servertec. All rights reserved. Last Modified: Sun Jan 09 21:37:57 EST 2000