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-14
Passing CGI Environment Variables
REMOTE_ADDR The IP address of the remote host making the request.
If IPv4 address is used:
n.n.n.n
Example:
199.170.183.2
If IPv6 address is used:
n:n:n:n:n:n:n:n
Example:
2001:0:0:0:0:FFD3:0:57ab
AUTH_TYPE If the server supports user authentication, and the CGI
program is protected, this is the protocol-specific
authentication method used to validate the user.
Example:
basic
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
These 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
Table 8-1. Environment Variables (page 4 of 6)
Environment Variable Description