Sorry shoulda been more specific -- proxy redirects are being used so the server name is the DNS name...
----- Original Message ----- From: "Justin MacCarthy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 12, 2002 1:33 PM Subject: RE: [ cf-dev ] server_name > I'm confused by this... > > DNS name www.whatever.com -> Proxy webserver 1 > Proxy webserver 2 > Proxy webserver 3 > > So SERVER_NAME should aways be whatever.com ??? > > Unless, when you go to www.whatever.com you get *redirected* to > http://xxx.xxx.xxx.xxx/whatever or http://proxy1.whatever.com > In this case you chould use the HTTP_REFERER possibly. HTTP_HOST should give > the server IP address if thats any help. > > Justin > > > > -----Original Message----- > > From: Damian Watson [mailto:[EMAIL PROTECTED]] > > Sent: 12 September 2002 12:41 > > To: [EMAIL PROTECTED] > > Subject: [ cf-dev ] server_name > > > > > > Hi, > > > > I've been setting a session variable with #server_name# to give me a site > > URL -- however on our servers there are numerous proxied domains and > > server_name won't give me the correct URL for these. Does anyone > > have a way > > of grabbing the domain name of a site? > > > > d > > > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]