iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)

Using Common Gateway Interface (CGI) Programs
iTP Secure WebServer System Administrator’s Guide523346-002
8-3
Generic-CGI Server Class
The generic-CGI execution environment has the following characteristics and
constraints:
You can run as many simultaneous CGI processes as there are processes in the
generic-CGI server class.
The .cgi programs are launched in the same processor in which the generic-CGI
server is running.
As in standard CGI, a new process is created for each invocation.
Generic-CGI is the best choice for running an existing .cgi program or a program that
will run without change in various WebServer environments. For high-volume
applications, you can achieve better performance by using Pathway CGI, as described
next.
Note. CGI requests and replies can be of any length. For long requests and replies, the httpd
process and the process labeled “Pathway CGI main” exchange multiple Serverclass_send
and reply messages.
Figure 8-2. Generic-CGI Server class
007CDT .CDD
HTTPD
generic_cgi
Pathway CGI main
Serverclass_send
Reply
.cgi Program
stdin
stdout