Udostępnij za pośrednictwem


requestLimits Element for requestFiltering [IIS Settings Schema]

Note

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

Specifies limits on requests processed by the Web server.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

maxAllowedContentLength

Optional uint attribute.

Specifies the maximum length of content in a request, in bytes.

The default value is 30000000.

maxQueryString

Optional uint attribute.

Specifies the maximum length of the query string, in bytes.

The default value is 2048.

maxUrl

Optional uint attribute.

Specifies maximum length of the URL, in bytes.

The default value is 4096.

Child Elements

Element

Description

headerlimits

Optional element.

Specifies size limits for HTML headers.

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.

Remarks

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

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

headerLimits Element for requestLimits [IIS Settings Schema]