我的环境变量探针
当前目录绝对位置是 /usr/home/web/p/primeooo/cgi-bin
当前目录的URL地址是 http://earth.prohosting.com/primeooo/cgi-bin
当前程序的URL地址是 http://earth.prohosting.com/primeooo/cgi-bin/cgi.cgi
调用变量名称: CGIPUB_HOMEDIR
$ENV{CGIPUB_HOMEDIR} = /usr/home/web/p/primeooo
$ENV{DOCUMENT_ROOT} = /usr/local/www/data
$ENV{GATEWAY_INTERFACE} = CGI/1.1
$ENV{HTTP_ACCEPT} = Accept: application/xhtml+xml,text/html;q=0.9,text/plain;
$ENV{HTTP_ACCEPT_CHARSET} = ISO-8859-1,utf-8;q=0.7,*;q=0.7
$ENV{HTTP_ACCEPT_ENCODING} = gzip
$ENV{HTTP_ACCEPT_LANGUAGE} = en-us,en;q=0.5
$ENV{HTTP_CACHE_CONTROL} = no-cache
$ENV{HTTP_CONNECTION} = close
$ENV{HTTP_HOST} = earth.prohosting.com
$ENV{HTTP_MAX_FORWARDS} = 10
$ENV{HTTP_PRAGMA} = no-cache
$ENV{HTTP_USER_AGENT} = CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
$ENV{HTTP_X_CC_LIST} = List:1 For:69.12.127.17
$ENV{HTTP_X_FORWARDED_FOR} = 38.103.63.58
$ENV{HTTP_X_FORWARDED_HOST} = earth.prohosting.com
$ENV{HTTP_X_FORWARDED_SERVER} = proxy3.free.prohosting.com
$ENV{PATH} = /bin:/usr/bin
$ENV{QUERY_STRING} =
$ENV{REMOTE_ADDR} = 69.12.127.18
$ENV{REMOTE_PORT} = 56319
$ENV{REQUEST_METHOD} = GET
$ENV{REQUEST_URI} = /primeooo/cgi-bin/cgi.cgi
$ENV{SCRIPT_FILENAME} = /usr/home/web/p/primeooo/cgi-bin/cgi.cgi
$ENV{SCRIPT_NAME} = /primeooo/cgi-bin/cgi.cgi
$ENV{SCRIPT_URI} = http://earth.prohosting.com/primeooo/cgi-bin/cgi.cgi
$ENV{SCRIPT_URL} = /primeooo/cgi-bin/cgi.cgi
$ENV{SERVER_ADDR} = 69.12.127.21
$ENV{SERVER_ADMIN} = webmaster@prohosting.com
$ENV{SERVER_NAME} = earth.prohosting.com
$ENV{SERVER_PORT} = 80
$ENV{SERVER_PROTOCOL} = HTTP/1.1
$ENV{SERVER_SIGNATURE} = Apache Server at earth.prohosting.com Port 80
$ENV{SERVER_SOFTWARE} = Apache
$ENV{UNIQUE_ID} = O3ghMEUMfxUAAA5nQIQAAAAL