I think it would be better to use Meta tags or JavaScript.. rather than
CFLoaction especially... if you have sessions/cookies or what not
eg
<cfif CGI.Server_Name eq "www.OneBox.com">
<script language="Javascript">
self.location="http://www.SecondBox.com";;
</script>
</cfif>

Joe
Certified Advanced ColdFusion Developer
[EMAIL PROTECTED]

-----Original Message-----
From: Joshua Miller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 12:04 PM
To: CF-Talk
Subject: RE: Web Address?


You mean something like:

<cfif server_name is "my.domain.com">
        <cflocation url="my.otherdomain.com">
</cfif>

Is that what you mean?

Joshua Miller
Web Development :: Programming
Eagle Web Development LLC
www.eaglewd.com
[EMAIL PROTECTED]
(304) 622-5676 (Clarksburg Office)
(304) 456-4942 (Home Office)


-----Original Message-----
From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 11:37 AM
To: CF-Talk
Subject: Web Address?


Okay, because of a server on a shared box, we needed a subdomain to
redirect via cflocation but I haven't done this simple task in years...

How do I test for the entered URL?  Http_referrer won't work I think
because its where the request originated or am I half baked today?

Regards,

Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions





______________________________________________________________________
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