Ensuring the maxURL request filter is configured
The
maxURL
attribute
of the <requestLimits>
property is the maximum length (in Bytes) of
a requested URL (excluding query string) that the IIS can accept. Configuring this request
filter enables the administrators to restrict the length of the requests that the server
accepts. It is recommended that a limit must be set for the length of URL. - Access the Internet Information Services (IIS) Manager.
- Click on the connection, the site, the application, or the directory to be configured, in the Connections section.
- Double-click the Request Filtering option in the Home section.
- Click the Edit Feature Settings, in the Actions section.
- Specify the value 4096 as the maximum URL length in bytes in the Request Limits section. The specified value is tested with the web applications.