You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/05/10 08:51:24 UTC
[Bug 54948] New: [PATCH] httpd -S shows namevhosts twice
https://issues.apache.org/bugzilla/show_bug.cgi?id=54948
Bug ID: 54948
Summary: [PATCH] httpd -S shows namevhosts twice
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: jkaluza@redhat.com
Classification: Unclassified
Created attachment 30269
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30269&action=edit
proposed patch
Hi,
attached patch fixes bug when httpd shows namevhosts in "httpd -S" output
twice:
port 80 namevhost hans.tests113.de (/etc/httpd/sites/vhosts:112)
wild alias *.hans.tests113.de
port 80 namevhost hans.tests113.de (/etc/httpd/sites/vhosts:112)
wild alias *.hans.tests113.de
port 80 namevhost tests113.de (/etc/httpd/sites/vhosts:123)
wild alias *.tests113.de
port 80 namevhost tests113.de (/etc/httpd/sites/vhosts:123)
wild alias *.tests113.de
port 80 namevhost test1.de (/etc/httpd/sites/vhosts:159)
wild alias *.test1.de
port 80 namevhost test1.de (/etc/httpd/sites/vhosts:159)
wild alias *.test1.de
port 80 namevhost test2.de (/etc/httpd/sites/vhosts:196)
wild alias *.test2.de
port 80 namevhost test2.de (/etc/httpd/sites/vhosts:196)
wild alias *.test2.de
port 80 namevhost test3.de (/etc/httpd/sites/vhosts:233)
wild alias *.test3.de
port 80 namevhost test3.de (/etc/httpd/sites/vhosts:233)
wild alias *.test3.de
--
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
[Bug 54948] [PATCH] httpd -S shows namevhosts twice
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54948
--- Comment #1 from Eric Covener <co...@gmail.com> ---
I think the guts of this is related to how 0.0.0.0 is counted as a "default
server" (this is bogus), but <VH *:80 has two addresses that will both add an
NVH config to the same ip chain in the "default list".
In 2.2, add_name_vhost_config is skipped when a new IP chain is created.I think
this (inadvertently?) prevents the * addresses from doubling up, and it works
because the first entry in the chain is the default anyway.
--
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
[Bug 54948] [PATCH] httpd -S shows namevhosts twice
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54948
--- Comment #3 from jkaluza@redhat.com ---
I had your way in my mind too, but I wasn't sure I won't break anything with
this change, so I went with my patch. I don't mind which one gets applied :).
--
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
[Bug 54948] [PATCH] httpd -S shows namevhosts twice
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54948
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Eric Covener <co...@gmail.com> ---
Thanks again for the report, committed to trunk in
http://svn.apache.org/r1481306. and proposed for backport.
--
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
[Bug 54948] [PATCH] httpd -S shows namevhosts twice
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54948
--- Comment #2 from Eric Covener <co...@gmail.com> ---
here is my attempt to fix this while the (default/wildcard) vhosts are being
created
http://people.apache.org/~covener/patches/nvh-defaultservers-duplicated.diff
I will open another bug for the bizarre issue even in 2.2 where 0.0.0.0 is
treated as a "default" and will apply instead of the base server config for
ipv6.
--
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