From: Eric Covener Date: Mon, 19 Sep 2011 01:36:39 +0000 (+0000) Subject: Give a slightly more direct hint when no global ServerName is set. I still X-Git-Tag: 2.3.15~228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f868cec39b5189def71912faf96b96ce2048ca21;p=apache 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 --- 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;