isapiCgiRestriction Element [IIS Settings Schema]

Note

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

Specifies settings that restrict which CGI and ISAPI programs are allowed to run on the server.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

notListedIsapisAllowed

Optional Boolean attribute.

Specifies whether unlisted ISAPI modules are allowed to run on this server.

The default value is false.

notListedCgisAllowed

Optional Boolean attribute.

Specifies whether unlisted CGI programs are allowed to run on this server.

The default value is false.

Child Elements

Element

Description

add

Optional element.

Adds a restriction to the collection of ISAPI and CGI restrictions.

remove

Optional element.

Removes a reference to a restriction from the isapiCgiRestriction collection.

clear

Optional element.

Removes all references to restrictions from the isapiCgiRestriction collection.

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.

security

Specifies the section group that contains security-related sections.

Remarks

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

Element Information

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

See Also

Reference

add Element for isapiCgiRestriction [IIS Settings Schema]

remove Element for isapiCgiRestriction [IIS Settings Schema]

clear Element for isapiCgiRestriction [IIS Settings Schema]