should have the host name. Otherwise, you can set something up in IIS.
CFHTTP isn't needed for this, and probably wouldn't be much help,
especially if you are utilizing state for anything.
<Cfif findNoCase("name2.com",cgi.server_name)><cflocation ....></cfif>
-dov
_____
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 11:08 AM
To: CF-Talk
Subject: Redirect to page based on URL...
I have a client the currently has two domain names pointing to the same
site. They've now asked me to redirect one of the names to a specific
file down inside the site.
I'm pretty sure this is something that I can do with cfhttp or one of
the related tags, but I'm not exactly sure how to pull this off..
www.name1.com would go to "www.mysite.com/index.cfm" page as normal
www.name2.com would redirect to "www.mysite.com/somefolder/somefile.cfm"
Pointers?
Thanks in advance.
--
Les Mizzell
---------------------------------------
Do geeks die when exposed to sunlight?
---------------------------------------
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

