Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 48125] New: Invalid behaviour description of multiple ServerAlias directives

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Nov 4, 2009, 4:05 AM

Post #1 of 1 (65 views)
Permalink
[Bug 48125] New: Invalid behaviour description of multiple ServerAlias directives

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[at]httpd.apache.org
ReportedBy: bostjan[at]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[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.