diff options
author | Rich Bowen <rbowen@apache.org> | 2010-04-16 18:33:20 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2010-04-16 18:33:20 +0200 |
commit | ad563f431c7ce96c62736e4d0a4bec564c4bf24c (patch) | |
tree | a789832eda9e30bc279a636c17f5b089827da391 | |
parent | generated doc changes (diff) | |
download | apache2-ad563f431c7ce96c62736e4d0a4bec564c4bf24c.tar.xz apache2-ad563f431c7ce96c62736e4d0a4bec564c4bf24c.zip |
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
-rw-r--r-- | server/vhost.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |