AUTH_TYPE
CONTENT_LENGTH
CONTENT_TYPE
GATEWAY_INTERFACE
HTTP_*
PATH_INFO
PATH_TRANSLATED
QUERY_STRING
REMOTE_ADDR
REMOTE_HOST
REMOTE_IDENT
REMOTE_USER
REQUEST_METHOD
SCRIPT_NAME
SERVER_NAME
SERVER_PORT
SERVER_PROTOCOL
SERVER_SOFTWARE
AUTH_TYPE
This variable is specific to requests made with HTTP.
If the script URI would require access authentication for external
access, then this variable is found from the `auth-scheme' token
in the request, otherwise NULL.
AUTH_TYPE = "" | auth-scheme
INTERNET-DRAFT Common Gateway Interface - 1.1 15 February 1996
auth-scheme = "Basic" | token
HTTP access authentication schemes are described in section 11 of
the HTTP/1.0 specification [3]. The auth-scheme is not
case-sensitive.
CONTENT_LENGTH
The size of the entity attached to the request, if any, in decimal
number of octets. If no data is attached, then NULL. The syntax is
the same as the HTTP Content-Length header (section 10, HTTP/1.0
specification [3]).
CONTENT_LENGTH = "" | [ 1*digit ]
CONTENT_TYPE
The Internet Media Type [9] of the attached entity. The syntax is
the same as the HTTP Content-Type header.
CONTENT_TYPE = "" | media-type
media-type = type "/" subtype *( ";" parameter)
type = token
subtype = token
parameter = attribute "=" value
attribute = token
value = token | quoted-string
The type, subtype and parameter attribute names are not
case-sensitive. Parameter values may be case sensitive. Media
types and their use in HTTP are described section 3.6 of the
HTTP/1.0 specification [3]. Example:
application/x-www-form-urlencoded
There is no default value for this variable. If and only if it is
unset, then the script may attempt to determine the media type
from the data received. If the type remains unknown, then
application/octet-stream should be assumed.
GATEWAY_INTERFACE
The version of the CGI specification to which this server
complies. Syntax:
GATEWAY_INTERFACE = "CGI" "/" 1*digit "." 1*digit
Note that the major and minor numbers are treated as separate
INTERNET-DRAFT Common Gateway Interface - 1.1 15 February 1996
integers and that each may be incremented higher than a single
digit. Thus CGI/2.4 is a lower version than CGI/2.13 which in
turn is lower than CGI/12.3. Leading zeros must be ignored by
scripts and should never be generated by servers.
This document defines the 1.1 version of the CGI interface.
=4= |