From owner-freebsd-apache@FreeBSD.ORG Wed Feb 11 02:00:04 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 19852106564A for ; Wed, 11 Feb 2009 02:00:04 +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 003848FC19 for ; Wed, 11 Feb 2009 02:00:03 +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 n1B203Ix011166 for ; Wed, 11 Feb 2009 02:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1B203kk011164; Wed, 11 Feb 2009 02:00:03 GMT (envelope-from gnats) Date: Wed, 11 Feb 2009 02:00:03 GMT Message-Id: <200902110200.n1B203kk011164@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: Wed, 11 Feb 2009 02:00:04 -0000 The following reply was made to PR ports/131563; it has been noted by GNATS. From: Glen Barber To: "Philip M. Gollucci" Cc: bug-followup@freebsd.org Subject: Re: ports/131563: [patch] Edit www/apache22/pkg-message to prompt user to add hostname to /etc/hosts Date: Tue, 10 Feb 2009 20:25:35 -0500 On Tue, Feb 10, 2009 at 8:14 PM, Philip M. Gollucci wrote: > This is not true. Largely, this depends on the modules you have loaded (in > particular, mod_uniqueid and mod_usertrack). > AFAIK, these are 'default'. > Additionally, it also depends on if you hostname resolves via DNS. > 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.) > Finally, it depends on what you have set for the ServerName directive in > httpd.conf > I have successfully run Apache (2.0.x and 2.2.x) without a ServerName directive but a resolvable address (/etc/hosts entry). I think adding this patch would be a "convenience reminder" rather than "this will fix all of the problems." At least, it is a step to try to prevent a FAQ I see too often. Regards, -- Glen Barber