From owner-freebsd-questions Thu Nov 19 05:15:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29298 for freebsd-questions-outgoing; Thu, 19 Nov 1998 05:15:53 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from oz.phear.net (slwag2p19.ozemail.com.au [203.108.157.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29293 for ; Thu, 19 Nov 1998 05:15:49 -0800 (PST) (envelope-from jim@phrantic.phear.net) Received: from localhost (jim@localhost) by oz.phear.net (8.9.1a/8.9.1) with ESMTP id AAA02959; Fri, 20 Nov 1998 00:15:28 +1100 (EST) Date: Fri, 20 Nov 1998 00:15:27 +1100 (EST) From: Jim Mock To: Chuck cc: freebsd-questions@FreeBSD.ORG Subject: Re: Another Question... In-Reply-To: <36541794.67E8BCA7@wave.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 19 Nov 1998, Chuck wrote: > I have a server on the net that I just set up... It's running some perl > scripts that are part of a chat program... The scripts use a variable > $ENV{'REMOTE_HOST'} to find out the domain name of the remote host... > For some reason ( I'm sure it's something I did wrong ) I can only get > the domain numbers and not the domain name to show up... Any Ideas?? > Assuming you're running Apache, check httpd.conf. You can tell it to look up the hostnames with an option in there, IIRC. Jim : Jim Mock | [jim@phrantic.phear.net] : : Phear Networks | web: http://www.phear.net/ : : A franchise of Triax, Inc. | ----------------------------- : : Web Site Design & Hosting | FreeBSD: The Power to Serve : : Wagga Wagga, NSW Australia | http://www.freebsd.org/ : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message