SSI environment variables, SSI 所有系统变量

Posted by bower on July 15, 2009
linux/ubuntu

ww.rencontre mon bled.com 分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

This illustrates a complete list of environment variables.
Background.

http://beachgroupcommercial.com/?kachalka=aut-opzioni-binarie-funziona&0dc=c5 Environment variables are used to exchange information between a Web server and browser. There is a standardized list of these developed for CGI (Common Gateway Interface) scripting. SSI supports those plus a few additional ones. Some of the CGI environment variables provide information about the server, but most provide information about the browser. Ways that this information is commonly used include the activity logging done by Web servers (captures browser IP address, browser id string, etc.) and by Web authors who use JavaScript to make decisions (type of browser, plug-ins available, or to read-write cookies).
Environment Variables.
可以用以下命令, 打印出所用的SSI内置系统变量
You can get a block of reported environment variables with the directive.

While informative, this would probably just be confusing if used on a consumer-oriented Web page:

http://caboclonharaue.com/?kreosan=melhores-sites-de-op%C3%A7%C3%B5es-bin%C3%A1rias&f0d=8a

http://devrimcicephe.org/vistawkoe/1690 SCRIPT_URL=/NIS/Courses/SSI/environ-vars.html SCRIPT_URI=http://www.unh.edu/NIS/Courses/SSI/environ-vars.html HTTP_USER_AGENT=Opera/9.64 (Windows NT 5.1; U; Edition IBIS; zh-cn) Presto/2.1.1 HTTP_HOST=www.unh.edu HTTP_ACCEPT=text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 HTTP_ACCEPT_LANGUAGE=zh-CN,zh;q=0.9,en;q=0.8 HTTP_ACCEPT_CHARSET=iso-8859-1, utf-8, utf-16, *;q=0.1 HTTP_ACCEPT_ENCODING=deflate, gzip, x-gzip, identity, *;q=0 HTTP_REFERER=http://www.google.com/search?hl=en&client=opera&rls=zh-cn&hs=iSF&newwindow=1&q=ssi+environment+variables&btnG=Search&aq=f&oq=&aqi= HTTP_CONNECTION=Keep-Alive PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin SERVER_SIGNATURE=

Apache/2.0.52 (Red Hat) Server at www.unh.edu Port 80

http://flywind.com.br/bakester/5696 SERVER_SOFTWARE=Apache/2.0.52 (Red Hat) SERVER_NAME=www.unh.edu SERVER_ADDR=132.177.132.99 SERVER_PORT=80 REMOTE_ADDR=222.128.24.75 DOCUMENT_ROOT=/usr/local/web/data SERVER_ADMIN=cwis.admin@unh.edu SCRIPT_FILENAME=/usr/local/web/data/NIS/Courses/SSI/environ-vars.html REMOTE_PORT=2903 GATEWAY_INTERFACE=CGI/1.1 SERVER_PROTOCOL=HTTP/1.1 REQUEST_METHOD=GET QUERY_STRING= REQUEST_URI=/NIS/Courses/SSI/environ-vars.html SCRIPT_NAME=/NIS/Courses/SSI/environ-vars.html DATE_LOCAL=July 14, 2009 DATE_GMT=July 15, 2009 LAST_MODIFIED=August 17, 1999 DOCUMENT_URI=/NIS/Courses/SSI/environ-vars.html USER_NAME=unhinfo DOCUMENT_NAME=environ-vars.html

citas web Instead you would probably use one or a few environment variables selectively, integrated in your overall page design. One way is just for annotation to automatically include date, URL, or other information on your pages, probably in the headers or footers. Another way is in some simple kinds of flow control (see source in flow-auth.txt) to customize the material presented.

see url This alphabetic list of SSI environment variables is assembled from an NCSA CGI list, plus the Apache extensions as documented and inferred from the “printenv” directive (see above). When reading any discussions of SSI, remember that while many servers support many variables, the specific list is dependent on the server and its release version. Remember, too, that these variables were developed for a programming environment and we’ve disabled the SSI “exec” directive for calling scripts. Detailed discussion of that kind of environment is available in books such as CGI Programming by Shishir Gundavaram.
AUTH_TYPE
If the server supports user authentication, and the script is protected, this is the protocol-specific authetnication method used to validate the user.
(none)

paginas para conocer personas en mexico CONTENT_LENGTH
Length of the content as given by the client.
(none)

go site - Iq option for windows dowload. CHAMP Sports offers recreational programs for children and adults that emphasize FUN CONTENT_TYPE
For queries which have attached information (e.g., POST and PUT), this is the content type of the data.
(none)

follow link DATE_GMT
The current date in Greenwich Mean Time.
July 15, 2009

DATE_LOCAL
The current date in the local time zone.
July 14, 2009

DOCUMENT_NAME
The filename (excl. directories) of requested document.
environ-vars.html

DOCUMENT_ROOT
Directory on the server in which Web documents are located or “rooted”.
/usr/local/web/data

DOCUMENT_URI
The URL path of the requested document. Affected by nesting of SSIs.
/NIS/Courses/SSI/environ-vars.html

GATEWAY_INTERFACE
Revision of the CGI specification to which the server complies.
CGI/1.1

HTTP_ACCEPT
The MIME types which the client will accept.
text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1

HTTP_ACCEPT_ENCODING
deflate, gzip, x-gzip, identity, *;q=0

HTTP_ACCEPT_LANGUAGE
Language setting for the browser.
zh-CN,zh;q=0.9,en;q=0.8

HTTP_CONNECTION
Keep-Alive

HTTP_HOST
www.unh.edu

HTTP_REFERER
The URL of the document that the client points to before accessing this page or script.
http://www.google.com/search?hl=en&client=opera&rls=zh-cn&hs=iSF&newwindow=1&q=ssi+environment+variables&btnG=Search&aq=f&oq=&aqi=

HTTP_USER_AGENT
The browser identification string.
Opera/9.64 (Windows NT 5.1; U; Edition IBIS; zh-cn) Presto/2.1.1

LAST_MODIFIED
Last modification date of the requested document.
August 17, 1999

PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

PATH_INFO
Extra path information, as given by the client, for decoding by the server before passing to a CGI script.
(none)

PATH_TRANSLATED
The PATH_INFO after the server does any virtual to physical mapping of it.
(none)

QUERY_STRING
Information which follows the “?” in the URL referencing a script.

REMOTE_ADDR
The IP adddress of the remote host making the request.
222.128.24.75

REMOTE_PORT
2903

REMOTE_HOST
Host name making the request to the server.
(none)

REMOTE_IDENT
If the HTTP server supports RFC 931 identification then this variable will be set to the remote user name retrieved from the server.
(none)

REMOTE_USER
If the server supports user authentication, and the script is protected, this is the username they have authenticated as.
(none)

REQUEST_URI
The file identifier requested.
/NIS/Courses/SSI/environ-vars.html

REQUEST_METHOD
Method of request, which for HTTP is GET, HEAD, or POST.
GET

SCRIPT_FILE_NAME
(none)

SCRIPT_NAME
Virtual path to the script being executed, used for self-referencing URLs.
/NIS/Courses/SSI/environ-vars.html

SCRIPT_URI
http://www.unh.edu/NIS/Courses/SSI/environ-vars.html

SCRIPT_URL
/NIS/Courses/SSI/environ-vars.html

SERVER_ADMIN
E-mail address of the server sysadmin.
cwis.admin@unh.edu

SERVER_NAME
Server’s hostname, DNS alias, or IP address as appearing in self-referencing URLs.
www.unh.edu

SERVER_PORT
Server port for Web traffic (default=80).
80

SERVER_PROTOCOL
Name and revision of the information protocol this request came in with.
HTTP/1.1

SERVER_SOFTWARE
Name and version of the server software.
Apache/2.0.52 (Red Hat)

USER_NAME
Process uname nder which the server software runs.
unhinfo

buy Pregabalin in uk 分享到:人人网开心网腾讯微博新浪微博豆瓣分享腾讯空间百度搜藏腾讯书签

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word