Python CGI

環境変数を表示する

Shell Environment:

CONTEXT_DOCUMENT_ROOT
/home/shichigatsu/knightstyle.info/public_html/lab
CONTEXT_PREFIX
DOCUMENT_ROOT
/home/shichigatsu/knightstyle.info/public_html/lab
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_CONNECTION
close
HTTP_HOST
lab.knightstyle.info
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_ACCEL_EXPIRES
60
HTTP_X_FAILURE_CACHE_TIME
0
HTTP_X_FILE_TYPE
normal
HTTP_X_FORWARDED_FOR
3.15.7.212
HTTP_X_FORWARDED_HOST
lab.knightstyle.info
HTTP_X_FORWARDED_PORT
80
HTTP_X_FORWARDED_PROTO
http
HTTP_X_REAL_IP
3.15.7.212
HTTP_X_SERVER_ADDRESS
120.136.10.68
HTTP_X_UA_DEVICE
pc
HTTP_X_WP_ACCESS
0
PATH
/usr/local/bin:/usr/bin:/bin
QUERY_STRING
REMOTE_ADDR
3.15.7.212
REMOTE_PORT
56266
REQUEST_METHOD
GET
REQUEST_SCHEME
http
REQUEST_URI
/python/cgi_print_environ.cgi
SCRIPT_FILENAME
/home/shichigatsu/knightstyle.info/public_html/lab/python/cgi_print_environ.cgi
SCRIPT_NAME
/python/cgi_print_environ.cgi
SERVER_ADDR
120.136.10.68
SERVER_ADMIN
webmaster@knightstyle.info
SERVER_NAME
lab.knightstyle.info
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
Z0cRQQt93q-BzJDbjKKhOwAAACM