summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2011-09-19 03:36:39 +0200
committerEric Covener <covener@apache.org>2011-09-19 03:36:39 +0200
commitf868cec39b5189def71912faf96b96ce2048ca21 (patch)
tree5f7fd2ffeeced34b2c905308bfbbc5f9116f620d /server
parentRebuild mod_log_config grammar changes. (diff)
downloadapache2-f868cec39b5189def71912faf96b96ce2048ca21.tar.xz
apache2-f868cec39b5189def71912faf96b96ce2048ca21.zip
Give a slightly more direct hint when no global ServerName is set. I still
think this buries the lead, but it's hard to rewrite to change the emphasis yet maintain googleability. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172410 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/util.c b/server/util.c
index 9e20d37bba..abecf23bb3 100644
--- a/server/util.c
+++ b/server/util.c
@@ -1983,7 +1983,8 @@ char *ap_get_local_host(apr_pool_t *a)
ap_log_perror(APLOG_MARK, APLOG_ALERT|APLOG_STARTUP, 0, a,
"%s: Could not reliably determine the server's fully qualified "
- "domain name, using %s for ServerName",
+ "domain name, using %s. Set the 'ServerName' directive globally "
+ "to suppress this message",
ap_server_argv0, server_hostname);
return server_hostname;