From: Lucien Gentis The strings Specifying When a request is received, the server first maps it to the best matching
If multiple virtual hosts contain the best matching IP address and port,
the server selects from these virtual hosts the best match based on the
requested hostname. If no matching name-based virtual host is found,
then the first listed virtual host that matched the IP address will be
- used. As a consequence, the first listed virtual for a given IP address
+ used. As a consequence, the first listed virtual host for a given IP address
and port combination is default virtual host for that IP and port
combination.$0
... $9
allow to reference
- the capture groups form a previously executed, successfully
+ the capture groups from a previously executed, successfully
matching regular expressions. They can normally only be used in the
same expression as the matching regex, but some modules allow special
uses.connection
or request
as first
- paramter allows to specify additional formats, causing additional
+ parameter allows to specify additional formats, causing additional
information to be logged when the first message is logged for a specific
connection or request, respectivly. This additional information is only
logged once per connection/request. If a connection or request is processed
@@ -3984,14 +3984,14 @@ hostname or IP address
The default value of onsuccess
may need to be changed to
- always
under the circumstances similar to those listed below
+ always
under the circumstances similar to those listed below.
Note also that repeating this directive with both conditions makes sense in
some scenarios because always
is not a superset of
onsuccess
with respect to existing headers:
Backreferences can be used in the comparison and in the substituion, +
Backreferences can be used in the comparison and in the substitution, when regular expressions are used, as illustrated in the following example:
If there is exactly one VirtualHost
directive
- listing the IP address and port combibation that was determined
+ listing the IP address and port combination that was determined
to be the best match, no further actions are performed and
the request is served from the matching vhost.
If there are multiple VirtalHost
directives listing
+
If there are multiple VirtualHost
directives listing
the IP address and port combination that was determined to be the
best match, the "list" in the remaining steps refers to the list of vhosts
that matched, in the order they were in the configuration file.
Name-based virtual hosting builds off of the IP-based virtual host - selection algoirthm, meaning that searches for the proper server name + selection algorithm, meaning that searches for the proper server name occur only between virtual hosts that have the best IP-based address.
@@ -81,7 +81,7 @@When a request arrives, the server will find the best (most specific) matching
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 the will be used.