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-2
CGI Support in the iTP Secure WebServer
Environment
CGI Support in the iTP Secure WebServer
Environment
The iTP Secure WebServer offers two CGI execution environments; and both have
advantages over conventional CGI execution. These environments are:
•
Generic-CGI Server Class
•
Pathway CGI Server Classes
In addition, the Servlet Server Class (SSC) provides a way of executing Java servlets.
Generic-CGI Server Class
The generic-CGI server class is a NonStop TS/MP server class that launches and
manages user-written Open System Services (OSS) CGI programs that conform to the
NCSA CGI 1.1 specification. A CGI program written for another environment requires
no change to communicate with the generic-CGI server class.
As shown in Figure 8-2 on page 8-3 the generic-CGI server class translates the
NonStop TS/MP Pathsend protocol into a standard CGI interface. Your CGI program
uses its familiar stdin and stdout file descriptors and environment variables. The
Figure 8-1. CGI Relationships
Database
CGI
Server
iTP Secure
WebServer
Other
Web Client
Standard Output
CGI Standard Input
& Environment Variables
VST007.vsd