Web Browser ->HTTP Daemon <--Standard Output-->CGI Program<--TCP/IP Socket-->Database Engine
Environment Variable | Purpose/Comment |
---|---|
GATEWAY_INTERFACE | Revision of CGI Spec to which the server complies CGI/revision |
SERVER_NAME | server's host name, DNS alias, IP address |
SERVER_SOFTWARE | name/version of information server |
SERVER_PROTOCOL | protocol/version of the information protocol this request has |
SERVER_PORT | port # to which the request was sent |
REQUEST_METHOD | method to which the request was made (GET, HEAD, POST, ... |
PATH_INFO | extra path information |
PATH_TRANSLATED | translated version of PATH_INFO (virtual to physical) |
SCRIPT_NAME | virtual path to the script being executed |
QUERY_STRING | query information that follows ? |
REMOTE_HOST | host name making the request |
REMOTE_ADDR | IP address of the remote host |
AUTH_TYPE | protocol specific authentication method |
REMOTE_USER | authenticated user name |
REMOTE_IDENT | remote user name |
CONTENT_TYPE | content type |
CONTENT_LENGTH | content length |