Variables-R-Us    

This is a list of SSI environment variables, which include the CGI set as well. I wrote this to see what the server would give me, and left it here for future reference.

output of 'ls -ld .' =
(This uses the #exec tag, so if that's disabled, it won't work.)

CGI Environment Variables

SERVER_SOFTWARE =
SERVER_NAME =
GATEWAY_INTERFACE =
SERVER_PROTOCOL =
SERVER_PORT =
REQUEST_METHOD =
PATH_INFO =
PATH_TRANSLATED =
SCRIPT_NAME =
QUERY_STRING =
REMOTE_HOST =
REMOTE_ADDR =
AUTH_TYPE =
REMOTE_USER =
REMOTE_IDENT =
CONTENT_TYPE =
CONTENT_LENGTH =
HTTP_ACCEPT =
HTTP_USER_AGENT =
HTTP_REFERER =
ANNOTATION_SERVER =

Documentation

SSI Environment Variables

DOCUMENT_NAME =
DOCUMENT_URI =
QUERY_STRING_UNESCAPED =
DATE_LOCAL =
DATE_GMT =
LAST_MODIFIED =

Documentation

XSSI Environment Variables

printenv:
(If you get an error, it didn't work -- XSSI disabled?)

Documentation

(End of list)



© 1997 Thomas Hundt.  All writes reserved.   <thundt@slack.net>