This topic has not yet been rated - Rate this topic

verbs Element for requestFiltering [IIS Settings Schema]

IIS 7.0

NoteNote:

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

Specifies which HTTP verbs are allowed or denied to limit types of requests sent to the Web server.

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

Attributes

Attribute

Description

allowUnlisted

Optional Boolean attribute.

Specifies whether the Web server should process unlisted verbs. If you set this attribute to true, you must list all verbs you want to deny. If you set this attribute to false, you must list all verbs you want to allow.

The default value is true.

applyToWebDAV

Optional Boolean attribute.

Specifies whether these settings should also apply to WebDAV requests.

Child Elements

Element

Description

add

Optional element.

Adds a verb to the verbs collection.

remove

Optional element.

Removes a reference to a verb from the verbs collection.

clear

Optional element.

Removes all references to verbs from the verbs 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.

requestFiltering

Specifies configuration settings for request filtering.

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

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

Did you find this helpful?
(1500 characters remaining)