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

2 messages from 2008-07-07 to 2008-07-07. Participants: Mike Hommey.
Thread: https://gitlist.dev/t/14329

## Mike Hommey, 2008-07-07 20:22

Subject: [PATCH] Avoid apache complaining about lack of server's FQDN
Message-ID: <1215462135-3222-1-git-send-email-mh@glandium.org>
URL: https://gitlist.dev/e/1215462135-3222-1-git-send-email-mh%40glandium.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

```

## Mike Hommey, 2008-07-07 20:48

Subject: Re: [PATCH] Avoid apache complaining about lack of server's FQDN
Message-ID: <20080707204851.GA4311@glandium.org>
URL: https://gitlist.dev/e/20080707204851.GA4311%40glandium.org
In-Reply-To: <1215462135-3222-1-git-send-email-mh@glandium.org>

```
On Mon, Jul 07, 2008 at 10:22:15PM +0200, Mike Hommey wrote:
> 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

```
