31 May 2012 04:43
[Bug 53334] New: non * name-based vhosts sometimes short-circut ServerName/ServerAlias
<bugzilla <at> apache.org>
2012-05-31 02:43:32 GMT
2012-05-31 02:43:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53334 Priority: P2 Bug ID: 53334 Assignee: docs <at> httpd.apache.org Summary: non * name-based vhosts sometimes short-circut ServerName/ServerAlias Severity: normal Classification: Unclassified OS: Linux Reporter: covener <at> gmail.com Hardware: PC Status: NEW Version: 2.5-HEAD Component: Documentation Product: Apache httpd-2 when you use name-based vhosting and a non-wildcard host/ip argument to <virtualhost>, httpd will accept the first match between the incoming Host header and the verbatim individual host/ip arguments to <virtualhost> without ever checking ServerName/ServerAlias. This never happens with * because the request hostname can't match *. <virtualhost 1.2.3.4:80> ServerName www.example.com </virtualhost> <virtualhost 1.2.3.4:80> ServerName other.example.com ServerAlias 1.2.3.4(Continue reading)
RSS Feed