Release 1.0 - ...
<system.webServer> element
Specifies the root element for the IIS 7 configuration section and contains configuration elements that configure settings used by the Web server engine and modules.
For the full IIS 7 Settings schema for the system.webServer element, visit the msdn site.
Example
XML |
Copy Code
|
<system.webServer>
<modules>
<!-- configures the http modules -->
</modules>
<handlers>
<!-- configures the http handlers -->
</handlers>
<defaultDocument>
<files>
<clear/>
<add value="smartsite.net"/>
<add value="manager.dws"/>
</files>
</defaultDocument>
<!-- Disable detection of IIS6 / Classic mode ASP.NET configuration -->
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
|
Attributes
None.
Parent element
Element name |
Description |
<configuration> |
Root element of the web.config file. |
Child elements
Element name |
Description |
<modules> |
Configures the HTTP modules within an application. The example below shows a typical modules section for a Smartsite web.config.
|
<handlers> |
Maps incoming requests to the appropriate handler according to the URL and the HTTP verb that is specified in the request. |