Appendix A. CGI Environment Variables

Table of Contents
Always set.
Request Specific
Miscellaneous

Always set.

These variables are not request-specific, and are set for all requests.

Table A-1. Always set

Variable NameDescriptionFormatExample
SERVER_SOFTWAREName and version of the web server software."name/version""NCSA/1.5.2"
SERVER_NAMEThe hostname of the web server; in lieu of the hostname, an IP address will be given.  
GATEWAY_INTERFACEThe revision of the CGI Interface with which the web server complies."CGI/revision""CGI/1.1"