httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48125] New: Invalid behaviour description of multiple ServerAlias directives
Date Wed, 04 Nov 2009 12:05:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48125

           Summary: Invalid behaviour description of multiple ServerAlias
                    directives
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bostjan@lenivec.com


In an article titled "An In-Depth Discussion of Virtual Host Matching" there is
a false statement in the second paragraph of first section (Config File
Parsing).

The paragraph says:
The directives Listen, ServerName, ServerPath, and ServerAlias  can appear
anywhere within the definition of a server. However, each appearance overrides
the previous appearance (within that server).

The truth is that if there are more than one instance of ServerAlias in given
virtual host, values of those instances are joined together.

Therefore, it makes no difference if you specify your directives as:
ServerAlias vhost1.example.com
ServerAlias vhost2.example.com

or:
ServerAlias vhost1.example.com vhost2.example.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message