HostMatchMapItems
Summary
Sets the mapping between hostname and siteaccess when using map host-matching.Usage
HostMatchMapItems[]= hostname1; siteaccess1
HostMatchMapItems[]= hostname2; siteaccess2
...
Description
Each row in the array defines one hostname to match and the siteaccess that will be used for that hostname.
See HostMatchType for examples and more information about host matching.
Frederik HolljenĀ (31/03/2005 2:49 pm)
Frederik HolljenĀ (31/03/2005 2:56 pm)
Comments
Can more domains be natched to the same siteaccess?
Tuesday 20 September 2005 1:15:51 pm
Massimiliano Bariola
i.e. accessing the same siteaccess from many domain names is allowed/feasible or not. This is very useful when waiting for DNS propagation but I had weird behavior from doing that, so I don't know if this operation is disallowed or if I made a mistake elsewhere.
Take care about using port 80 in your urls: itr will not be matched!
Monday 22 June 2009 12:54:37 pm
Gaetano
will not match http://hostname1:80
You will need to add a second rule for that:
<i>HostMatchMapItems[]= hostname1:80; siteaccess1</i>
This might happen not only when entering the url in the browser, but also when using webservices or other http clients that always put the port in the 'Host:' header in the http request.