This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

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

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.

Syntax

Attributes and Elements

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

Attributes

None.

Child Elements

Optional element.

Configures default settings for Common Gateway Interface (CGI) applications.

defaultDocument

Optional element.

Configures settings for returning a default document to a client browser when the client does not specify a file name in a request.

directoryBrowse

Optional element.

Configures whether directory browsing is enabled or disabled on the Web server, and specifies the information to include in a directory listing.

fastCgi

Optional element.

Contains a collection of fastCgi application pool definitions.

globalModules

Optional element.

Specifies configuration settings for global modules on a Web server.

handlers

Optional element.

Specifies handlers to process requests made to sites and applications.

httpCompression

Optional element.

Configures HTTP compression settings for a Web server.

httpErrors

Optional element.

Configures HTTP error messages for a Web server.

httpLogging

Optional element.

Specifies configuration settings for HTTP.sys logging.

httpProtocol

Optional element.

Configures custom and redirect response headers to be sent from the server to the client.

httpRedirect

Optional element.

Configures settings for redirecting client requests to a new location.

httpTracing

Optional element.

Specifies configuration settings for HTTP.sys tracing.

isapiFilters

Optional element.

Specifies configuration settings for ISAPI filters on a Web server.

management

Optional element.

Configures a Web server for remote management by using IIS Manager.

modules

Optional element.

Specifies configuration settings for modules on a Web server.

odbcLogging

Optional element.

Configures Open Database Connectivity (ODBC) logging.

security

Optional element.

Specifies the section group that contains security-related sections.

serverRuntime

Optional element.

Configures request limits for applications on a Web server.

serverSideIncludes

Optional element.

Specifies whether server-side includes (SSI) #exec directives are disabled.

staticContent

Optional element.

Configures static file request handler settings.

tracing

Optional element.

Configures request trace settings.

urlCompression

Optional element.

Configures compression of static and dynamic content.

validation

Optional element.

Configures IIS 7.0 to detect whether an ASP.NET application that is set up to run in ISAPI mode needs any migration in order to function correctly in Integrated mode.

webdav

Optional Element.

Configures Web Distributed Authoring and Versioning (WebDAV) for Internet Information Services (IIS) 7.

Parent Elements

Remarks

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

See Also

Reference

asp Element [IIS Settings Schema]

caching Element [IIS Settings Schema]

cgi Element [IIS Settings Schema]

defaultDocument Element [IIS Settings Schema]

fastCgi Element [IIS Settings Schema]

globalModules Element [IIS Settings Schema]

handlers Element [IIS Settings Schema]

httpCompression Element [IIS Settings Schema]

httpErrors Element [IIS Settings Schema]

httpLogging Element [IIS Settings Schema]

httpProtocol Element [IIS Settings Schema]

httpRedirect Element [IIS Settings Schema]

httpTracing Element [IIS Settings Schema]

isapiFilters Element [IIS Settings Schema]

management Element [IIS Settings Schema]

modules Element [IIS Settings Schema]

odbcLogging Element [IIS Settings Schema]

serverRuntime Element [IIS Settings Schema]

serverSideInclude Element [IIS Settings Schema]

staticContent Element [IIS Settings Schema]

tracing Element [IIS Settings Schema]

urlCompression Element [IIS Settings Schema]

validation Element [IIS Settings Schema]

WebDAV Element [IIS Settings Schema]

Other Resources

IIS 7.0: directoryBrowse Element for ftpServer for siteDefaults for sites (IIS Settings Schema)

IIS 7.0: security Element for ftpServer for siteDefaults for sites (IIS Settings Schema)