The <Host>
element is used to apply content rules to requests to a specific virtual host (or often to the two virtual hosts running on the default ports).
Names | Type | Description |
---|---|---|
name | string | Required attribute, specifies the hostname of requests to match against. This must correspond to the "canonical" name of the virtual host, or the client can circumvent the matching process. |
scheme | "http "," https " | Optional scheme of requests to match against. Used to match only requests using a specific protocol. If omitted, any protocol will be matched. |
port | integer | Optional port of requests to match against. Used to match only requests using a specific port. If omitted, any request to the default port for the protocol used (either 80 or 443) will be matched |
XML attributes corresponding to request mapper properties are used.