Net.Data can execute as a FastCGI process on Apache Web Server and Domino Go Webserver. FastCGI provides similar performance to the other Web API programs with the application isolation of CGI. FastCGI is supported on the AIX and Sun Solaris operating systems.
Before you use FastCGI, ensure that you have installed the Apache Web Server 1.2.0 or higher or the Domino Go Webserver 4.6.2.5 or higher.
To configure Net.Data for FastCGI:
AppClass inst_dir -processes proc_num -initial-env LIBPATH=libpath -initial-env ORACLE_HOME=oracle_path -initial-env ORACLE_SID=oracle_instance -initial-env DB2INSTANCE=db2_instance -initial-env RXQUEUE_OWNER_PID=REXX_perf_var -initial-env LANG=locale
<location /fcgi-bin> SetHandler fastcgi-script </location>
ServerInit /u/mydir/http/fcgi-bin/fcgi.o:FCGIInit /u/mydir/http/fcgi.conf service/fcgi-bin/* /u/mydir/http/fcgi-bin/fcgi.o:FCGIDispatcher*ServerTerm /u/mydir/http/fcgi-bin/fcgi.o:FCGIStop
Local { Exec inst_dir Role Responder URL /fcgi-bin/db2www BindPath /tmp/db2www.ibm NumProcesses proc_num Environ LIBPATH=libpath Environ ORACLE_HOME=oracle_path Environ ORACLE_SID=oracle_instance Environ DB2INSTANCE=db2_instance Environ RXQUEUE_OWNER_PID=REXX_perf_var Environ LANG=locale Environ NLSPATH=msg_catalog_path Environ MAXREQUEST=num_reqs }
For Apache:
AppClass /u/mydir/apache/fcgi-bin/db2www
For Domino Go Webserver:
Exec /u/mydir/http/fcgi-bin/db2www
For Apache:
-processes 7
For ICS or Domino Go Webserver:
NumProcesses 7
/usr/lpp/db2_05_00/lib
For Apache:
-initial-env LIBPATH=/u/mydir/apache/lib:/u/mydir/apache:/usr/lib
For Domino Go Webserver:
Environ LIBPATH=/u/mydir/http/lib:/u/mydir/http:/usr/lib
For Apache:
-initial-env ORACLE_HOME=/home.native/oracle/product/7.2
For Domino Go Webserver:
Environ ORACLE_HOME=/home.native/oracle/product/7.2
For Apache:
-initial-env ORACLE_SID=mvpdb2
For Domino Go Webserver:
Environ ORACLE_SID=mvpdb2
For Apache:
-initial-env DB2INSTANCE=wwwinst
For Domino Go Webserver:
Environ DB2INSTANCE=wwwinst
For Apache:
-initial-env RXQUEUE_OWNER_PID=0
For Domino Go Webserver:
Environ RXQUEUE_OWNER_PID=0
For Apache:
-initial-env LANG=En_US
For Domino Go Webserver:
Environ LANG=En_US
For Apache:
-initial-env NLSPATH=/usr/lib/nls/msg/%L/%N
For Domino Go Webserver:
Environ NLSPATH=/usr/lib/nls/msg/%L/%N
For Apache:
-initial-env MAXREQUEST=5000
For Domino Go Webserver:
Environ MAXREQUEST=5000
<a href="http://server/fcgi-bin/db2www/filename.ext/block/ [?name=val&...]">any text</a>
http://server/fcgi-bin/db2www/filename.ext/block/[?name=val&...]