環境は以下の様になっています


DOCUMENT_ROOT/export/home/www
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODINGbr,gzip
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_CONNECTIONKeep-Alive
HTTP_HOSTcgi.din.or.jp
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
PATH/usr/sbin:/usr/bin
QUERY_STRING
REMOTE_ADDR3.239.11.178
REMOTE_HOSTec2-3-239-11-178.compute-1.amazonaws.com
REMOTE_PORT41512
REQUEST_METHODGET
REQUEST_URI/~acchan/cgi-bin/env/envtest.cgi
SCRIPT_FILENAME/export/home1/a/./acchan/WWW/cgi-bin/env/envtest.cgi
SCRIPT_NAME/~acchan/cgi-bin/env/envtest.cgi
SERVER_ADDR210.135.90.11
SERVER_ADMINsupport@din.ad.jp
SERVER_NAMEcgi.din.or.jp
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
Apache/1.3.9 Server at cgi.din.or.jp Port 80
SERVER_SOFTWAREApache/1.3.9 (Unix)
TZJapan


Script written by Inside Web