From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 00:23:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 223C316A4BF for ; Wed, 20 Aug 2003 00:23:35 -0700 (PDT) Received: from web42006.mail.yahoo.com (web42006.mail.yahoo.com [66.218.93.174]) by mx1.FreeBSD.org (Postfix) with SMTP id AA7C343F85 for ; Wed, 20 Aug 2003 00:23:34 -0700 (PDT) (envelope-from yuzunay@yahoo.com) Message-ID: <20030820072334.75195.qmail@web42006.mail.yahoo.com> Received: from [213.139.211.18] by web42006.mail.yahoo.com via HTTP; Wed, 20 Aug 2003 00:23:34 PDT Date: Wed, 20 Aug 2003 00:23:34 -0700 (PDT) From: Yusuf UZUNAY To: Don Buckley In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: OT: quick apache question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 07:23:35 -0000 if don't give hostname in /etc/rc.conf like this hostname="www.xxx.com" and in /etc/hosts add these lines: 127.0.0.1 localhost.xxx.com localhost 1.1.1.1 www.xxx.com www 1.1.1.1 www.xxx.com and last you can do this in httpd.conf file ServerName www.xxx.com Now Reboot Your computer! Byee! ;) --- Don Buckley wrote: > sorry for the OT, but > > I changed ISP's (telus.net to shaw) and my > httpd-error.log is showing and > error: > > mod_unique_id: unable to > gethostbyname("hostname_from_/etc/rc.conf") > > There's a tweak somewhere for this but i forget > where :P > > Thanks > > Don@dfbtech.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com