Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following attributes are supported:

NameTypeRequired?DefaultDescription
idstringY
The IIS instance ID of the web site to protect. Newer IIS versions actually display this value in the administration tool.
namestringY

Canonical logical hostname for the web site

portinteger
80Logical port for requests if the physical request does not include TLS
sslportinteger
443Logical port for requests if the physical request includes TLS
schemestring

http or
https

Logical scheme for requests, the default depending on the physical use or non-use of TLS

useVariablesboolean
value from <ISAPI> elementControls whether attributes are passed to the application as Server Variables
useHeadersboolean
value from <ISAPI> element

Controls whether attributes are passed as HTTP Headers.

This setting should be avoided, but is present to provide a level of compatibility with applications developed against the old ISAPI extension.

Child Elements

ElementCardinaltyDescription
<Alias>0 more

Rarely-used child element that allows a web site to be accessed via alternate canonical URLs without causing redirects to rewrite the hostname into the primary name. This requires that you duplicate any RequestMapper settings for each combination of URL attributes you want to allow.