From owner-freebsd-apache@FreeBSD.ORG Thu Feb 12 15:00:11 2009 Return-Path: Delivered-To: apache@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A02D81065706 for ; Thu, 12 Feb 2009 15:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DECB8FC24 for ; Thu, 12 Feb 2009 15:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1CF0B9O055837 for ; Thu, 12 Feb 2009 15:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1CF0Bei055836; Thu, 12 Feb 2009 15:00:11 GMT (envelope-from gnats) Date: Thu, 12 Feb 2009 15:00:11 GMT Message-Id: <200902121500.n1CF0Bei055836@freefall.freebsd.org> To: apache@FreeBSD.org From: Glen Barber Cc: Subject: Re: ports/131563: [patch] Edit www/apache22/pkg-message to prompt user to add hostname to /etc/hosts X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Glen Barber List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 15:00:12 -0000 The following reply was made to PR ports/131563; it has been noted by GNATS. From: Glen Barber To: "Philip M. Gollucci" Cc: "Philip M. Gollucci" , bug-followup@freebsd.org Subject: Re: ports/131563: [patch] Edit www/apache22/pkg-message to prompt user to add hostname to /etc/hosts Date: Thu, 12 Feb 2009 09:50:08 -0500 On Thu, Feb 12, 2009 at 12:52 AM, Philip M. Gollucci wrote: > Glen Barber wrote: >> >> Right. Most of the apache startup problems on FreeBSD I see are >> /etc/hosts related. Most of the users experiencing are "new" to >> FreeBSD, and neglect adding their hostname to /etc/hosts. (I know I >> still do on occasion.) > > Configuring the network in /sysinstall at install time does this for you. > To be honest, I have yet to see this happen, even when using a FQDN as a hostname. >> I have successfully run Apache (2.0.x and 2.2.x) without a ServerName >> directive but a resolvable address (/etc/hosts entry). > > While its good to have your hostname in /etc/hosts, it doesn't have to be > a remote dns server can have it and answer it just fine. > Not everyone needs an internal DNS server, and if the hostname is not a resolvable FQDN, this won't work. > The pkg-message isn't meant to replace docs, rather it should really > reference docs. I agree. My intent with the PR I submitted was to try to make things a little more clear on, as I stated, one of the most common FAQs I see regarding Apache on FreeBSD. -- Glen Barber