/index.cfm?dax=blog:286.view
..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 28, 2006 10:37 PM
To: CF-Talk
Subject: Re: Handling Marketing URLs
Here's
I used a fairly simple method to do this. Example below is not
precisely to your scenario but it does catch a particular folder in
the path and do something with it in a 404 handler. You can do
whatever you like with respect to string handling. In your case its
not even necessary. Just set
Hi Nate. Another suggestion/approach for your marketing URL may be to use a
dns wildcard like: easytoremember.domain.com Unsure how apache/solaris
supports it but here is the cf Dave Watts suggested to me sometime back
(been using it since):
cfswitch expression=#CGI.HTTP_HOST#
cfcase
Here's the 404 redirector code that I developed for a couple of my sites:
!---
404 Redirector
Query redirects table //for all active values, put in server scope.
//Uses QoQ to get values,
- if value is in the database, do an HTTP 301 (Moved Permanently)
redirect.
4 matches
Mail list logo