Cgi.http_host is the host header that the browser uses to make the request.
Most of the time that will be different then the windows server name.  

Russ

> -----Original Message-----
> From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 8:45 AM
> To: CF-Talk
> Subject: Re: identifying server in load balanced env
> 
> In this case  would not the CGI var HTTP_HOST hold the server name?
> curious
> 
> DK
> On 1/24/06, Duncan <[EMAIL PROTECTED]> wrote:
> > Thats a very good memory! Thanks.
> >
> > On 1/25/06, Dave Watts <[EMAIL PROTECTED]> wrote:
> > > > If I may rephrase, how do I get the windows server name on a
> > > > 6.1 standard installation?
> > >
> > > I think it's something like:
> > >
> > > java.net.InetAddress.getLocalHost().getHostName()
> > >
> > > Note that's from memory, so I could've made a mistake.
> > >
> > > Dave Watts, CTO, Fig Leaf Software
> > > http://www.figleaf.com/
> > >
> > > Fig Leaf Software provides the highest caliber vendor-authorized
> > > instruction at our training centers in Washington DC, Atlanta,
> > > Chicago, Baltimore, Northern Virginia, or on-site at your location.
> > > Visit http://training.figleaf.com/ for more information!
> > >
> > >
> > >
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230412
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to