環境変数

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


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


HTTP_HOST = sumomo.ohwaki.jp
HTTP_ACCEPT_ENCODING = x-gzip, gzip, deflate
HTTP_USER_AGENT = CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH = /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE =
Apache/2.2.3 (CentOS) Server at sumomo.ohwaki.jp Port 80

SERVER_SOFTWARE = Apache/2.2.3 (CentOS)
SERVER_NAME = sumomo.ohwaki.jp
SERVER_ADDR = 182.48.40.46
SERVER_PORT = 80
REMOTE_ADDR = 54.156.42.165
DOCUMENT_ROOT = /var/www/html
SERVER_ADMIN = root@localhost
SCRIPT_FILENAME = /var/www/cgi-bin/rubyenv.cgi
REMOTE_PORT = 34258
GATEWAY_INTERFACE = CGI/1.1
SERVER_PROTOCOL = HTTP/1.0
REQUEST_METHOD = GET
QUERY_STRING =
REQUEST_URI = /cgi-bin/rubyenv.cgi
SCRIPT_NAME = /cgi-bin/rubyenv.cgi