CGI Environment Variables
This script lists some of the environment variables to which a cgi script
has access.
Making good use of this information is essential for writing good
scripts.
A blank value means that the server did not provide the variable in
question.
The query string is (FORM GET):
The content type of the data is (POST, PUT):
The name and revision of info protocol is: HTTP/1.1
The URL of the referer is:
The translated PATH_INFO is:
The browser of the client is: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
The MIME types that the client will accept are: text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
The hostname making the request is:
The CGI specification revision is: CGI/1.1
The remote user is (RFC 931):
The server software is: Apache/1.3.20 (Unix)
The extra path info is:
The authenticated user is:
The IP address of the remote host is: 38.107.191.104
The script name is: /showroom/summary.cgi
The server hostname, DNS alias, or IP address is: www.mathconsult.ch
The server document root directory is: /www/docroots/mc
The info request method is: GET
The length of the content is:
The authentication method is:
The port number for the server is: 80
Perl Script adapted from
Shishir Gundavaram, CGI Programming on the World Wide Web, O'Reilly & Associates, 1996.