Server Variables
HTTP Server Variables
Variable |
Meaning |
ALL_HTTP |
Complete set of HTTP Headers. In this variable, the headers have been capitalized and prefixed with HTTP_. |
ALL_RAW |
Complete set of HTTP Headers. Similar to ALL_HTTP, but the header names are left unchanged. |
APPL_MD_PATH |
Path in the Metabase for the web application (the Metabase contains the IIS4 configuration). |
APPL_PHYSICAL_PATH |
Physical path of the web application, i.e. the location on disk. |
AUTH_PASSWORD |
User's password, if the user has been authenticated using Basic Authentication. |
AUTH_TYPE |
Authentication type, if the user has been authenticated. Set to Basic for Basic Authentication or NTLM for Windows NT Challenge/Response Authentication. |
AUTH_USER |
User's name, if the user has been authenticated. |
CERT_COOKIE |
Unique identifier for client certificate. |
CERT_FLAGS |
Flags: bit 0 is set if client certificate is present; bit 1 is set if the certificate authority that issued the certificate is not recognized. |
CERT_ISSUER |
Certificate issuer, from the Issuer field in the client certificate. |
CERT_KEYSIZE |
Number of bits used to encrypt the secure channel session. |
CERT_SECRETKEYSIZE |
Number of bits in the server certificate's private key. |
Variable |
Meaning |
CERT_SERIALNUMBER |
Serial number of certificate allocated by issuer. |
CERT_SERVER_ISSUER |
Certificate issuer, from the Issuer field in the server certificate. |
CERT_SERVER_SUBJECT |
Certificate owner, from the Subject field in the server certificate. |
CERT_SUBJECT |
Certificate owner, from the Subject field in the client certificate. |
CONTENT_LENGTH |
Number of bytes sent by the client. |
CONTENT_TYPE |
Type of data in HTTP Request. |
GATEWAY_INTERFACE |
Version of the CGI gateway specification implemented. |
HTTP_headername |
See "HTTP Headers" below |
HTTPS |
ON if a secure channel is used; OFF otherwise |
HTTPS_KEYSIZE |
Number of bits used to encrypt the secure channel session. |
HTTPS_SECRETKEYSIZE |
Number of bits in the server certificate's private key. |
HTTPS_SERVER_ISSUER |
Certificate issuer, from the Issuer field in the server certificate. |
HTTPS_SERVER_SUBJECT |
Certificate owner, from the Subject field in the server certificate. |
INSTANCE_ID |
Identifies the instance of the web server in the Metabase. |
INSTANCE_META_PATH |
Path in the Metabase for the IIS instance. |
LOCAL_ADDR |
IP address on the server that received the HTTP request. |
LOGON_USER |
User's Windows NT account name, if the user has been authenticated. |
|