Well, we have localdirector on a cluster here (a proxy of sorts)
where
www.whatever.com -> [localdirector] -> web1.whatever.com
-> web2.whatever.com
-> ggdhkjj.whatever.com
and all the servers report www.whatever.com as their SERVER_NAME
Am I wrong? @J
> -----Original Message-----
> From: Russ 'Snake' Michaels [mailto:[EMAIL PROTECTED]]
> Sent: 12 September 2002 13:49
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] server_name
>
>
> www was an example, it could be anything really, even tha /whatever/ part
> could be different.
>
>
>
> -----Original Message-----
> From: Justin MacCarthy [mailto:[EMAIL PROTECTED]]
> Sent: 12 September 2002 13:50
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] server_name
>
>
>
> <cfset url = "www." & listDeleteAt(server_name,1,".")> ???
>
> Not generic but might work for Damian
>
> Justin
>
> > -----Original Message-----
> > From: Russ 'Snake' Michaels [mailto:[EMAIL PROTECTED]]
> > Sent: 12 September 2002 13:39
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] server_name
> >
> >
> > you request www.domain.com/whatever
> > proxy directs to www2.domain.com/whatever
> >
> > user always sees the domain they type, but coldfusion sees what
> the proxy
> > redirects to.
> > Thus if coldFusion uses server_name it will us ethe wrong address
> > as it uses
> > the proxy address.
> > Damian needs the address that is in the browser.
> >
> >
> > -----Original Message-----
> > From: Justin MacCarthy [mailto:[EMAIL PROTECTED]]
> > Sent: 12 September 2002 13:33
> > To: [EMAIL PROTECTED]
> > 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]
> >
> >
> >
>
> --
> ** 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]