Hi Nick, On 08/22/2011 06:45 PM CEST +02:00, Nick Kew wrote: > On Mon, 22 Aug 2011 18:27:10 +0200 > Micha Lenk <mi...@lenk.info> wrote: > >> In the case I described earlier, *only* the virtual server v2 has a >> ServerName that matches the requested hostname. > > No it doesn't. ServerName or ServerAlias arguments are just strings, > so the :80 makes it a non-match.
Which ':80' do you mean? The port of the Host: header is stripped from the request_rec.hostname by calling fix_hostname(r) in ap_update_vhost_from_headers() before doing any string comparisons... Regards, Micha