You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2020/12/17 13:49:49 UTC

[Bug 64996] clarifications about vhost matching

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
name-based.html already has these three paragraphs, unless there are specific
changes to suggest I'm not sure more text or repetition will help:

Name-based virtual hosting builds off of the IP-based virtual host selection
algorithm, meaning that searches for the proper server name occur only between
virtual hosts that have the best IP-based address.

When a request arrives, the server will find the best (most specific) matching
<VirtualHost> argument based on the IP address and port used by the request. If
there is more than one virtual host containing this best-match address and port
combination, Apache will further compare the ServerName and ServerAlias
directives to the server name present in the request.

The default name-based vhost for an IP and port combination
If no matching ServerName or ServerAlias is found in the set of virtual hosts
containing the most specific matching IP address and port combination, then the
first listed virtual host that matches that will be used.

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