Mit FastCGI kann Net.Data im FastCGI-Modus unter Apache Web Server und Domino Go Webserver, dem Nachfolgeprodukt von IBM Internet Connection Secure Server (ICSS), ausgeführt werden. Der FastCGI-Modus verbindet die Leistungsstärke anderer Web-API-Programme mit der Zuverlässigkeit von CGI-BIN-Programmen (getrennter Speicherbereich).
Vorbereitung:
Stellen Sie vor der Verwendung von FastCGI sicher, daß Sie die erforderlichen Produkte installiert haben:
http://www.ics.raleigh.ibm.com/dominowebserver
Gehen Sie wie folgt vor, um Net.Data für FastCGI zu konfigurieren:
AppClass inst_verz -processes prozeßanzahl -initial-env LIBPATH=bibliothekspfad -initial-env ORACLE_HOME=oracle_pfad -initial-env ORACLE_SID=oracle_exemplar -initial-env SYBASE=sybase_pfad -initial-env DSQUERY=sybase_exemplar -initial-env DB2INSTANCE=db2_exemplar -initial-env RXQUEUE_OWNER_PID=REXX_leistungsvariable -initial-env LANG=länderspezifisch
<location /fcgi-bin> SetHandler fastcgi-script </location>
ServerInit /u/meinverz/http/fcgi-bin/fcgi.o:FCGIInit /u/meinverz/http/fcgi.conf service/fcgi-bin/* /u/meinverz/http/fcgi-bin/fcgi.o:FCGIDispatcher*ServerTerm /u/meinverz/http/fcgi-bin/fcgi.o:FCGIStop
Local { Exec inst_verz Role Responder URL /fcgi-bin/db2www BindPath /tmp/db2www.ibm NumProcesses prozeßanzahl Environ LIBPATH=bibliothekspfad Environ ORACLE_HOME=oracle_pfad Environ ORACLE_SID=oracle_exemplar Environ SYBASE=sybase_pfad Environ DSQUERY=sybase_exemplar Environ DB2INSTANCE=db2_exemplar Environ RXQUEUE_OWNER_PID=REXX_leistungsvariable Environ LANG=länderspezifisch }
Für Apache:
AppClass /u/meinverz/apache/fcgi-bin/db2www
Für Domino Go Webserver:
Exec /u/meinverz/http/fcgi-bin/db2www
Für Apache:
-processes 7
Für ICS oder Domino Go Webserver:
NumProcesses 7
Für Apache:
-initial-env LIBPATH=/u/meinverz/apache/lib:/u/meinverz/apache:/usr/lib
Für Domino Go Webserver:
Environ LIBPATH=/u/meinverz/http/lib:/u/meinverz/http:/usr/lib
Für Apache:
-initial-env ORACLE_HOME=/home.native/oracle/product/7.2
Für Domino Go Webserver:
Environ ORACLE_HOME=/home.native/oracle/product/7.2
Für Apache:
-initial-env ORACLE_SID=mvpdb2
Für Domino Go Webserver:
Environ ORACLE_SID=mvpdb2
Für Apache:
-initial-env SYBASE=/home.native/sybase/product
Für Domino Go Webserver:
Environ SYBASE=/home.native/sybase/product
Für Apache:
-initial-env DSQUERY=SybaseAIX
Für Domino Go Webserver:
Environ DSQUERY=SybaseAIX
Für Apache:
-initial-env DB2INSTANCE=wwwinst
Für Domino Go Webserver:
Environ DB2INSTANCE=wwwinst
Für Apache:
-initial-env RXQUEUE_OWNER_PID=0
Für Domino Go Webserver:
Environ RXQUEUE_OWNER_PID=0
Für Apache:
-initial-env LANG=De_DE
Für Domino Go Webserver:
Environ LANG=De_DE
<A HREF="http://server/fcgi-bin/db2www/datname.erw/block/ [?name=wert&...]">beliebiger text</A>
http://server/fcgi-bin/db2www/datname.erw/block/[?name=wert&...]