Microsoft KB Archive/150041

From BetaArchive Wiki
Knowledge Base


Environment Variables Returned by IIS via CGI

Article ID: 150041

Article Last Modified on 6/23/2005



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
                

Keywords: kbusage KB150041