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 2004/04/05 10:29:05 UTC
DO NOT REPLY [Bug 28199] New: -
NameVirtualHost gives warnings when duplicated
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28199>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28199
NameVirtualHost gives warnings when duplicated
Summary: NameVirtualHost gives warnings when duplicated
Product: Apache httpd-2.0
Version: 2.0.46
Platform: All
OS/Version: Linux
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: kernel@pkts.ca
I've been adding a "NameVirtualHost www.example.com:80" line right before each
"<VirtualHost www.example.com:80>", for each customer's virtual host on my server.
As all of the customers are on the same ip address, this amounts to a bunch of
duplicate 'NameVirtualHost' lines.
Here are the nuisance warning messages I get:
[Mon Apr 05 01:05:39 2004] [warn] NameVirtualHost cust2.example.com:80 has no
VirtualHosts
[Mon Apr 05 01:05:39 2004] [warn] NameVirtualHost cust3.example.com:80 has no
VirtualHosts
...
This warning is misleading and confusing, especially since the httpd.conf file
has the NameVirtualHost line right before the <VirtualHost ...> line.
I've commented out all of the NameVirtualHost's except for one, and the problem
has gone away.
What I'd like is to keep the NameVirtualHost lines, and have the warning go away
(or be clearer if it has to stay).
Thanks!
(Note, I'm using an Apache RPM from RedHat Enterprise Linux 3)
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org