REMOTE_ADDR=
REMOTE_HOST=

Will these not do it?

Ade

-----Original Message-----
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 11:07
To: CF-Talk
Subject: RE: server ip and CGI vars


ah...ok.

you're cfexecute and ping suggestion sounds like an interesting one
actually. I might have a play around with that myself.

good luck

w

-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 10:55
To: CF-Talk
Subject: RE: server ip and CGI vars


Will I can't see anything listed that will give this info,

all listed CGI vars are,

ALL_HTTP
AUTH_TYPE
CONTENT_LENGTH
CONTENT_TYPE
GATEWAY_INTERFACE
HTTP_ACCEPT
HTTP_REFERER
HTTP_USER_AGENT
PATH_INFO
PATH_TRANSLATED
QUERY_STRING
REMOTE_ADDR
REMOTE_HOST
REMOTE_IDENT
REMOTE_USER
REQUEST_BODY
REQUEST_METHOD
SCRIPT_NAME
SERVER_PORT
SERVER_PROTOCOL
SERVER_SOFTWARE

nothing specifies the server IP, I think there must functions used that are
not listed,

the only way I can think to do this is to

<CFEXECUTE>  a ping command, then do a hard coded <SWITCH><CASE> of known
IP's

We have four servers and move applications to diifferent servers for various
reasons
and within app gloabls would like to determine the IP as oppossed to a DNS
so as to set
the apprpriate system vars,



-----Original Message-----
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 10:48 AM
To: CF-Talk
Subject: RE: server ip and CGI vars


try SERVER_NAME - Server's hostname, DNS alias, or IP address as it appears
in self-referencing URLs.

The cf docs have a full listing of CGI vars

HTH

w

-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 10:22
To: CF-Talk
Subject: server ip and CGI vars


Hey Guys,

What is the CGI var,
that will give me the servers IP on which CF is sitting,

also how do I get ip address resolved to different domain names,

i.e. http//wwww.address1.com
        http//wwww.address2.co.uk,

repectfully,

j




______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to