ports/131563: [patch] Edit www/apache22/pkg-message to prompt
user to add hostname to /etc/hosts
Philip M. Gollucci
pgollucci at p6m7g8.com
Wed Feb 11 22:00:17 PST 2009
The following reply was made to PR ports/131563; it has been noted by GNATS.
From: "Philip M. Gollucci" <pgollucci at p6m7g8.com>
To: Glen Barber <glen.j.barber at gmail.com>
Cc: "Philip M. Gollucci" <pgollucci at freebsd.org>,
bug-followup at 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 00:52:10 -0500
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.
> 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.
The pkg-message isn't meant to replace docs, rather it should really reference
docs.
--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
Senior Sys Admin - RideCharge, Inc. http://ridecharge.com
Contractor - PositiveEnergyUSA http://positiveenergyusa.com
ASF Member - Apache Software Foundation http://apache.org
FreeBSD Committer - FreeBSD Foundation http://freebsd.org
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
More information about the freebsd-apache
mailing list