Are you includeing a http:// on the url so the browser knows not to pull
a relative path ?

As I have used code like..

<CFLOCATION URL="../foo.htm" ADDTOKEN="NO">

Plenty of times so that I can keep people out of directories... And if
you arent includeing the http then it could be telling the browser to go
to http://www.yoursite.com//www.newsite.com/   with will 404

HTH



-----Original Message-----
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 15:55
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Would that really matter, doesn't cflocation just tell the browser to
relocate to the specified url?

-----Original Message-----
From: Dave Wilson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 10:37 AM
To: CF-Talk
Subject: RE: CFLOCATION to external sites - failure


Maybe the server running ColdFusion has difficulty in resolving url's.
Possibly due to incorrectly configured DNS.

Check the links are obtainable when browsing direct to them from the
server if you have access to it.

Dave

-----Original Message-----
From: Cornillon, Matthieu [mailto:[EMAIL PROTECTED]]
Sent: 27 September 2002 14:54
To: CF-Talk
Subject: CFLOCATION to external sites - failure


Hi.  I have a series of pages, each of which points to an offsite link.
These external sites vary in location and nature.  In order to track
usage of these sites, I am passing users through an exit page.  On this
exit page, I pull the external URL from a database and stick it in a
CFLOCATION statement.

Sometimes this works, and sometimes I get a "page could not be
found"/404 error.  I am sure that this is not to do with the exit page's
placement: if I remove it, I get an entirely different error.  So I am
sure that the exit page is being loaded.

To make things stranger: if I paste the URL (pulled by the exit page)
directly into a browser, it works fine.  Or, if I use CFHEADER instead
of CFLOCATION, it works fine.

Anyone know of any reason why CFLOCATION should fail when pointing
offsite?

Thanks,
Matthieu



______________________________________________________________________
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