環境変数

Perlで環境変数を表示してみた。


Powered by perl
ソース表示 トップページ


SCRIPT_NAME = /cgi-bin/env.cgi
SERVER_NAME = sumomo.ohwaki.jp
SERVER_ADMIN = root@localhost
HTTP_ACCEPT_ENCODING = x-gzip, gzip, deflate
REQUEST_METHOD = GET
HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
SCRIPT_FILENAME = /var/www/cgi-bin/env.cgi
SERVER_SOFTWARE = Apache/2.2.3 (CentOS)
QUERY_STRING =
REMOTE_PORT = 40104
HTTP_USER_AGENT = CCBot/2.0 (http://commoncrawl.org/faq/)
SERVER_PORT = 80
SERVER_SIGNATURE =
Apache/2.2.3 (CentOS) Server at sumomo.ohwaki.jp Port 80

REMOTE_ADDR = 54.156.42.165
SERVER_PROTOCOL = HTTP/1.0
PATH = /sbin:/usr/sbin:/bin:/usr/bin
REQUEST_URI = /cgi-bin/env.cgi
GATEWAY_INTERFACE = CGI/1.1
SERVER_ADDR = 182.48.40.46
DOCUMENT_ROOT = /var/www/html
HTTP_HOST = sumomo.ohwaki.jp