Environment Variables Returned by IIS via CGI (150041)



The information in this article applies to:

  • Microsoft Internet Information Server 1.0

This article was previously published under Q150041
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SUMMARY

Custom environment variables will not be returned by Internet Information Server (IIS) via a CGI application.

MORE INFORMATION

The following environment variables are returned by IIS:
   AUTH_TYPE
   ComSpec
   GATEWAY_INTERFACE
   All HTTP_* variables
   CONTENT_LENGTH
   CONTENT_TYPE
   PATH
   PATH_INFO
   PATH_TRANSLATED
   QUERY_STRING
   REMOTE_ADDR
   REMOTE_HOST
   REMOTE_USER
   REQUEST_METHOD
   SCRIPT_NAME
   SERVER_NAME
   SERVER_PROTOCOL
   SERVER_PORT
   SERVER_SOFTWARE
   SystemRoot
   windir
				

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbusage KB150041