Using 4.5 on these servers grrrrr ... it does seem to me that this will be a
question of hardcoding the URL or setting it in the CMS or summit...

tanx for trying ;0)

----- Original Message -----
From: "Robert Scurr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 12, 2002 2:28 PM
Subject: RE: [ cf-dev ] server_name


Erm, is you proxy including anything in the header?

If your using 5 or above...

<cfset test = GetHttpRequestData()>
<cfdump var="#test#">



>>> [EMAIL PROTECTED] 12/09/02 13:48:01 >>>
ok lets try another  explanation.

user type www.domain.com/whatever

coldfusion generates the URL's as #server_name#/whatever
which results in www2.domain.com/whatever as this is the actual server cf
sits on
this cannot happen, only the proxy server can request from this server, you
cannot go to it directly. So u need to get the www.domain.com that was
originally requested by user.
Yes referer will get it for subsequent pages, but not the first and not for
people who have softare that blocks this.




-----Original Message-----
From: Justin MacCarthy [mailto:[EMAIL PROTECTED]]
Sent: 12 September 2002 13:49
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] server_name


So whats the problem ??? :-)
Is the issue, you need to redirect them to the same box they start a session
on?
Might need to use HTTP_HOST

Justin - missing something basic.

> -----Original Message-----
> From: Damian Watson [mailto:[EMAIL PROTECTED]]
> Sent: 12 September 2002 13:31
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] server_name
>
>
> 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]
>
>
>


--
** 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]

Reply via email to