From ad563f431c7ce96c62736e4d0a4bec564c4bf24c Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Fri, 16 Apr 2010 16:33:20 +0000 Subject: 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@934984 13f79535-47bb-0310-9956-ffa450edef68 --- server/vhost.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/vhost.c') diff --git a/server/vhost.c b/server/vhost.c index 958409315c..cc1ae92931 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -507,7 +507,9 @@ static void remove_unused_name_vhosts(server_rec *main_s, ipaddr_chain **pic) 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; } -- cgit v1.2.3