calpip-devsite/index.cfm                                calpip-devsite
calpip.cdpr.ca.gov/index.cfm                            calpip.cdpr.ca.gov
calpip-devsite.inisde.cdpr.ca.gov/index.cfm
calpip-devsite.inisde.cdpr.ca.gov
10.104.106.113/index.cfm                                10.104.106.113
134.186.118.90/index.cfm/                               134.186.118.90

But, I did read somewhere that depending on your set up, either SERVER_NAME
or the other one that looks like it returns the same thing can include the
port.

Google for something like "difference between SERVER_NAME and [some other
CGI var that I can't remember]" and you'll come across a post or two that
explains what it returns.

Or not :OD

Adrian

> -----Original Message-----
> From: Ian Skinner [mailto:h...@ilsweb.com]
> Sent: 12 March 2009 17:20
> To: cf-talk
> Subject: What *exactly* does cgi.server_name return.
> 
> 
> I think I can get the answer faster from this helpful and generous
> group
> of people then I can write one line of code and try it out on a wide
> variety of environments.
> 
> What exactly is cgi.server_name expected to return?  Looking at the
> following examples what would you expect to be in this variable?
> 
> http://calpip-devsite/index.cfm
> 
> http://calpip.cdpr.ca.gov/index.cfm
> 
> http://calpip-devsite.inisde.cdpr.ca.gov/index.cfm
> 
> http://10.104.106.113/index.cfm
> 
> http://134.186.118.90/index.cfm/
> 
> TIA
> Ian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320462
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to