git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Avoid apache complaining about lack of server's FQDN

From
Mike Hommey <mh@glandium.org>
Date
Jul 7, 2008, 20:22 UTC
Message-ID
<1215462135-3222-1-git-send-email-mh@glandium.org>

On some setups, apache will say: apache2: Could not reliably determine the server's fully qualified domain name, using $(IP_address) for ServerName

Avoid this message polluting tests output by setting a ServerName in
apache configuration.
---
 t/lib-httpd/apache.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf
index a447346..4717c2d 100644
--- a/t/lib-httpd/apache.conf
+++ b/t/lib-httpd/apache.conf
@@ -1,3 +1,4 @@
+ServerName dummy
 PidFile httpd.pid
 DocumentRoot www
 ErrorLog error.log
-- 
1.5.6.GIT
Next: Mike Hommey
Message 1 of 2 in “Avoid apache complaining about lack of server's FQDN”
  1. Avoid apache complaining about lack of server's FQDNMike Hommey, Jul 7, 2008
  2. Mike HommeyJul 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.