remove for staticContent Element [IIS Settings Schema]

Note

For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: Static Content <staticContent>.

Removes a single MIME mapping.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

fileExtension

Required string attribute.

Specifies a unique file name extension for a MIME type.

See the following Default Configuration section for the complete list of default values.

mimeType

Required string attribute.

Specifies the type of file and the application that uses this type of file name extension.

See the following Default Configuration section for the complete list of default values.

Child Elements

None.

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.

staticContent

Configures static file request handler settings.

Remarks

For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: Static Content <staticContent>.

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