Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 1998 14:29:07 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
Cc:        Chuck <chuckw@wave.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Another Question...
Message-ID:  <Pine.BSF.3.96.981119142547.4700A-100000@java.dpcsys.com>
In-Reply-To: <Pine.BSF.4.03.9811191403030.1722-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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??

That's a CGI env variable.  Your web server sets this before calling
the cgi program.  Either you have hostname lookup turned off (Apache's
default) or your resolver/named is setup wrong.  Probably the former.
See httpd.conf

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981119142547.4700A-100000>