Can you give me an example of the code to take a filename and turn it into a 
variable?

So xyz.com/253435 turns into xyz.com/display.cfm?id=253435

> We do this with several of our apps. In IIS, we set the Custom Error 
> for 404 to a cfm page (/404.cfm for example). That page looks at the 
> URL's query_string and redirects as appropriate.
> 
> Tim
> 
> > I have a website that has listings, but I want to make it so that 
> > people can type in a much smaller url that will then redirect (so 
> they 
> > can put them in classifieds for example).
> > 
> > In my example, I want to have http://HomeZula.com/1057 automatically 
> 
> > direct people to http://homezula.com/displayListing.cfm?id=1057
> > 
> > Someone suggested to me that this can be done using Custom Error 
> > messages and tags, but I have not been able to get it to work.
> > 
> > Any help would be greatly 
appreciated!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276015
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