iTP Secure WebServer System Administrator's Guide (Version 7.0)
Using Common Gateway Interface (CGI) Programs
iTP Secure WebServer System Administrator’s Guide—523346-012
8-3
Generic-CGI Server Class
generic-CGI server class makes it unnecessary for the httpd process to implement
polling.
The generic-CGI execution environment has these 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
.cgi Program
generic_cgi
HTTPD
Serverclass_send
Reply
Pathway CGI main
stdin stdout
VST008.vsd