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

Using Common Gateway Interface (CGI) Programs
iTP Secure WebServer System Administrators Guide522659-001
8-14
Passing CGI Environment Variables
REMOTE_IDENT This variable is not supported.
REMOTE_USER If the server supports user authentication, and the CGI
program is protected, this is the authenticated user name.
Example:
sandeman
CONTENT_TYPE For queries with attached information, such as HTTP
POST, this is the content type of the data.
Format:
type/subtype
Example:
text/html
CONTENT_LENGTH The length of the content (in bytes) as given by the web
client.
Example:
768
The following SSL and PCT environment variables are request specific.
HTTPS_KEYSIZE Contains the number of bits in the session key used to
encrypt this session.
Example:
40
HTTPS_SERVER_ISSUER Contains the name of the issuer of this server’s certificate.
Example:
CN=Capulet, O=Capulet’s House of Keys,
C=Italy
HTTPS_SERVER_SUBJECT Contains the DN for this server’s certificate.
Example:
CN=Juliet, O=Capulet’s House of Keys,
C=Italy
HTTPS Indicates whether this request is using SSL and/or PCT.
The values are: ON, OFF
Example: off
HTTPS_CLIENT_CERT If SSL or PCT client authentication was used, this variable
contains the certificate as presented by the web client. It is
encoded in ASCII using radix-64.
If SSL 3.0 was used, the value stored in this variable is the
web client’s certificate, extracted from the certificate chain
that was received from the web client.
Table 8-1. Environment Variables (page 4 of 6)
Environment Variable Description