俺だけのために Ore! Tips!

Apache 1.3.14 の CGI で取れる環境変数

2001年01月04日 作業

Apache 上で実行される CGI で取得できる環境変数一覧。
(ちょっと Apache のバージョンが古いけど、参考まで)

SERVER_SOFTWAREApache/1.3.14 (Unix)
PHP/3.0.18-i18n-ja
GATEWAY_INTERFACECGI/1.1
DOCUMENT_ROOT/usr/local/apache/htdocs
REMOTE_ADDR10.80.16.226
SERVER_PROTOCOLHTTP/1.0
SERVER_SIGNATUREApache/1.3.14 Server at www.hoge.co.jp Port 80
REQUEST_METHODPOST
HTTP_REFERERhttp://www.hoge.co.jp/~shinoda/cgi-bin/bbs2/maaasbbs.cgi?act=ALI
QUERY_STRING
HTTP_USER_AGENTMozilla/4.7[ja] (Win98; I)
PATH/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
HTTP_ACCEPTimage/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png,*/*
HTTP_CONNECTIONKeep-Alive
LD_LIBRARY_PATH/usr/local/pgsql/lib
REMOTE_PORT1119
SERVER_ADDR10.80.16.8
HTTP_ACCEPT_LANGUAGEja
SCRIPT_NAME/~shinoda/cgi-bin/bbs2/maaasbbs.cgi
HTTP_ACCEPT_ENCODINGgzip
SCRIPT_FILENAME/home/shinoda/public_html/cgi-bin/bbs2/maaasbbs.cgi
SERVER_NAMEwww.hoge.co.jp
REQUEST_URI/~shinoda/cgi-bin/bbs2/maaasbbs.cgi
HTTP_ACCEPT_CHARSETShift_JIS,*,utf-8
HTTP_COOKIEMaaasBBS=name=%a5%de%a5%e9%a5%ce%a5%ea email= now=978566887;
MaaasBBSAdmin=AdminID=56751;
MaaasBBS=name=%a5%c7%a5%ab%a5%c1%a5%f3%a4%aa%b7%bb%a4%b5%a4%f3 email=
now=977960781;
SITESERVER=ID=f1d1fbba1aaa1be62b70ff607ca8dbc3
SERVER_PORT80
CONTENT_TYPEapplication/x-www-form-urlencoded
CONTENT_LENGTH18
HTTP_HOSTwww.hoge.co.jp
SERVER_ADMINroot@www.hoge.co.jp

前ページに戻る


Copyright (C) 2003-2004 S.Maaasamasa.