httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r934984 - /httpd/httpd/trunk/server/vhost.c
Date Fri, 16 Apr 2010 16:33:20 GMT
Author: rbowen
Date: Fri Apr 16 16:33:20 2010
New Revision: 934984

URL: http://svn.apache.org/viewvc?rev=934984&view=rev
Log:
Expand the "NameVirtualHost has no VirtualHosts" error message, since it
seems that we have to explain a dozen times a day what it really means.

Modified:
    httpd/httpd/trunk/server/vhost.c

Modified: httpd/httpd/trunk/server/vhost.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/vhost.c?rev=934984&r1=934983&r2=934984&view=diff
==============================================================================
--- httpd/httpd/trunk/server/vhost.c (original)
+++ httpd/httpd/trunk/server/vhost.c Fri Apr 16 16:33:20 2010
@@ -507,7 +507,9 @@ static void remove_unused_name_vhosts(se
 
         if (ic->server == NULL) {
             ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_s,
-                         "NameVirtualHost %s:%u has no VirtualHosts",
+                         "Either NameVirtualHost %s:%u has no VirtualHosts,"
+                         " or there is more than one identical NameVirtualHost line,"
+                         " or your VirtualHost declarations do not match the NameVirtualHost
line",
                          ic->sar->virthost, ic->sar->host_port);
             *pic = ic->next;
         }



Mime
View raw message