Export (0) Print
Expand All

cgi Element [IIS Settings Schema]

IIS 7.0

NoteNote:

For more information about the cgi element, see the following topic on the Microsoft IIS.net Web site: CGI <cgi>.

Configures default settings for Common Gateway Interface (CGI) applications.

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

createCGIWithNewConsole

Optional Boolean attribute.

Specifies whether a CGI application runs in its own console.

NoteNote:
If the value is set to true, each CGI application creates a new console when the application is started. A value of false indicates that CGI applications should run without a console.

The default value is false.

createProcessAsUser

Optional Boolean attribute.

Specifies whether a CGI process is created in the system context or in the context of the requesting user.

The default value is true.

timeout

Optional timeSpan attribute.

Specifies the time-out for a CGI application.

The default value is 00:15:00 (15 minutes).

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

For more information about the cgi element, see the following topic on the Microsoft IIS.net Web site: CGI <cgi>.

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

Community Additions

ADD
Show:
© 2015 Microsoft