Web-centric Computing

Example Code

environment variables

Environment Variables
NameValue
SCRIPT_NAME /~jamie/cgi-bin/4173/about/env.cgi
SERVER_NAME web.cs.dal.ca
SERVER_ADMIN cshelp@cs.dal.ca
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
REQUEST_METHOD GET
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
SCRIPT_FILENAME /users/webhome/jamie/cgi-bin/4173/about/env.cgi
CONTEXT_PREFIX /~jamie
REQUEST_SCHEME https
SERVER_SOFTWARE Apache
QUERY_STRING
REMOTE_PORT 39536
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
SERVER_PORT 443
SERVER_SIGNATURE
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
REMOTE_ADDR 3.226.251.81
CONTEXT_DOCUMENT_ROOT /users/webhome/jamie
SERVER_PROTOCOL HTTP/1.1
PATH /usr/local/bin:/usr/bin:/bin
REQUEST_URI /~jamie/cgi-bin/4173/about/env.cgi
GATEWAY_INTERFACE CGI/1.1
HTTPS on
SERVER_ADDR 129.173.22.11
DOCUMENT_ROOT /local/data/web.cs.dal.ca/web/
HTTP_HOST web.cs.dal.ca
SSL_TLS_SNI web.cs.dal.ca
UNIQUE_ID XV7wCZohfu68qhv7LOetsAAAAoc

http://www.cs.dal.ca/~jamie/cgi-bin/4173/about/env.cgi
Version:
12 July 2001
Author:
J. Blustein <jamie@cs.dal.ca>

Valid XHTML 1.0!