https://bz.apache.org/bugzilla/show_bug.cgi?id=64997

--- Comment #3 from Christoph Anton Mitterer <cales...@scientia.net> ---
Oh and all that is now in vhosts/name-based.html, but missing in
vhosts/name-based.html.

It's a bit unfortunate that the whole system (which is actually not that
extremely difficult) is scattered over so many places.


In fact, conceptually it seems that httpd doesn't differ between IP-based and
name-based at all.

It's always just:
1) first take any vhosts whose addr:port match literally (i.e. no wildcard)
2) if none, take also those with wildcards)
3) if there is a HTTP Host Header, match that in the remaining vhosts and fall
back to the first one if no-one matches or there is none.
4) if there was matching no vhost at all, give it to the main server

Apart from some details, like where to get default ServerName/Alias from,... or
the thing with the implicitly added ServerAlias from <VirtualHost>,... that's
it, isn't it?


In the documentation there seem currently a lot of text writing "around" these
simple rules.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to