Export (0) Print
Expand All

httpProtocol Element [IIS Settings Schema]

IIS 7.0

NoteNote:

For more information about the httpProtocol element, see the following topic on the Microsoft IIS.net Web site: HTTP Protocol Settings <httpProtocol>.

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

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

Attributes

Attribute

Description

allowKeepAlive

Optional Boolean attribute.

Specifies whether keep-alive processing is permitted (true) or not (false).

The default value is true.

Child Elements

Element

Description

customHeaders

Configures custom response headers that are returned in responses from the Web server.

redirectHeaders

Configures response headers that are returned in responses only when the Web server redirects requests.

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.

For more information about the httpProtocol element, see the following topic on the Microsoft IIS.net Web site: HTTP Protocol Settings <httpProtocol>.

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

Community Additions

ADD
Show:
© 2014 Microsoft