Mailing List Archive

[Bug 63717] New: Meaning of _default_ seems to have changed in 2.4, yet not reflected in documentation
https://bz.apache.org/bugzilla/show_bug.cgi?id=63717

Bug ID: 63717
Summary: Meaning of _default_ seems to have changed in 2.4, yet
not reflected in documentation
Product: Apache httpd-2
Version: 2.4.41
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: docs@httpd.apache.org
Reporter: apache@stefanseidel.info
Target Milestone: ---

In the docs for <VirtualHost>:
https://httpd.apache.org/docs/2.4/mod/core.html#virtualhost it is said that
_default_ is an alias for *. This has changed from 2.2, where _default_
indicated a "catch-all" for unmatched hosts.

I seems that the pages
https://httpd.apache.org/docs/2.4/vhosts/examples.html
and
https://httpd.apache.org/docs/2.4/vhosts/details.html
have not been brought up to date with this information.

Some testing seems to confirm that _default_ is nothing special anymore and if
in doubt, Apache HTTPD 2.4 will use the first <VirtualHost> declaration if the
request hostname does not match any declared ServerName or ServerAlias.

Is this correct, and if so, can the documentation be adjusted accordingly?

--
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