One way is to use a 404 page that examines CGI.REQUEST_URI and matches the
links to those in a table somewhere (file, DB, whatever).
 
Another is Spikes FU servlet.
 
http://www.spike.org.uk/projects/fuservlet/
<http://www.spike.org.uk/projects/fuservlet/> 

  _____  

From: olivier
Sent: Sat 9/04/2005 9:13
To: CF-Talk
Subject: simple URLs like www.domain.com/go/2345



Hello ! 


Basically, I want to be able to use a simple URL that would forward to a 
more complex one. 
Like when you communicate on paper, you don't want the user to have to type 
www.domain.com/products/index.cfm?action=this&product=that&disptype=1234&pro
mo=1234 
but you'd rather have them use something simple like www.domain.com/1234 

At the same time, you can take the opportunity to log that hit in another 
table to run statistics. 

The question is: how do you handle with ColdFusion simple urls like that, 
that do not have a .cfm filename in the URL ? 




Thanks so much !!! 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202069
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to