Your Web server must use live connection to use NSAPI for all language environments. Using NSAPI improves performance because it does not go through CGI processing. See details at the Netscape Server API page:
http://home.netscape.com/newsref/std/server_api.html
Details on which systems can use NSAPI and additional information is in the README file. These are the steps to configure Net.Data to run with NSAPI on your server:
/netscape/server/bin/httpd/dtwnsapi.dll
| obj.conf | Add to the top of the file:
Init fn="load-modules" shlib="dtwnsapi.dll" funcs=dtw_nsapi |
| obj.conf | Add to the Services directive:
Service fn="dtw_nsapi" method=(GET|HEAD|POST) type="magnus-internal/d2w" |
| mime.types | Add this type:
type=magnum-internal/dtw exts=mac |
/netscape/server/docs/
http://server1.stl.ibm.com/cgi-bin/db2www/test1.mac/reportThis URL uses Net.Data as the NSAPI application:
http://server1.stl.ibm.com/test1.mac/report
If you keep your Net.Data macros in several directories, a few steps change slightly:
http://server1.stl.ibm.com/cgi-bin/db2www/orders/test1.mac/reportThe updated URL is shorter, but keeps the directory name:
http://server1.stl.ibm.com/orders/test1.mac/report