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 value="easytoremember1.domain.com">
   ...   
</cfcase>   
<cfcase value="easytoremember2.domain.com">
   ...   </cfcase>   
<cfdefaultcase>
   ...   
</cfdefaultcase> 
</cfswitch>


HTH



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 28, 2006 3:35 PM
> To: CF-Talk
> Subject: Handling "Marketing URLs"
> 
> This may be somewhat off topic but...
> 
> I am trying to figure out the best way to handle "marketing URLs", or URLs
> like: www.domain.com/easytoremember where easytoremember doesen't exist as
> a
> directory on the server.
> Would it be recommended to use a special 404 error handler on the server,
> URL
> rewrites or something else?
> I have tried defining a .cfm file as a 404 error handler in which I tried
> to
> parse out the requested URL as entered into the browser using
> cgi.request_uri
> (apache), but it only provides me with the path of the error handler
> itself.
> I am using CFMX 7/apache/solaris.
> 
> Thanks,
> 
> Nate
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254834
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to