threads / patch / 14329

patchAvoid apache complaining about lack of server's FQDN

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

## tl;dr

2 messages between Jul 7, 2008 and Jul 7, 2008. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Mike Hommey· Jul 7, 2008, 20:22 UTC · lore

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(-)
Show changes to t/lib-httpd/apache.conf +1 −0
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
Mike Hommey· Jul 7, 2008, 20:48 UTC · re: Mike Hommey · lore

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

On Mon, Jul 07, 2008 at 10:22:15PM +0200, Mike Hommey wrote:
Show 6 quoted lines
> 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.
Signed-off-by: Mike Hommey <mh@glandium.org>
for the 3 patches I sent today, obviously...
Mike

← back to recent threads