I know you're looking for a CF solution to this and it may be that a dynamic 404 template may be the right solution in your case.
You won't be able to get any stats out of the site, however, as your logs will be all 404's unless you use <cfhttp> in the 404 template to deliver the content (event then you won't get much in the way of user information and your SESSION variables risk getting whacked. If you can use mod_rewrite or ISAPI, it's certainly a better solution - and simple. I don't know Apache's mod_rewrite well enough but the ISAPI filter for IIS would read something like: # Rewrite Rules RewriteRule ^/$ /index.cfm RewriteRule .*/([^\?]*)(?:\?(.*))? /content.cfm\?path=/$1&$2 You'll have to configure something on the content.cfm page (or whatever name you use) to include your main page template the URL.path is empty. -Jon On Sep 22, 2006, at 2:58 PM, Larry Lyons wrote: >> Wondering if anyone has done this before with just straight CF and >> not ISAPI >> rewrites. >> >> Want to create a url like -- http://www.somesite.com/64673 >> >> And then pull that 64673 off as a url parameter for querying and >> redirect? >> >> Thanks > > While there are complicated methods of doing such in CF, the > simplest is to use either a mod_rewrite on Apache, or the > equivalent in IIS. > > Then all you have to do is set up a regex that parses for the url > parameter and relocate the person to www.somesite.com/index.cfm? > id=6473. > > hth, > > larry > > -- > Larry C. Lyons > Web Analyst > BEI Resources > American Type Culture Collection > http://www.beiresources.org > email: llyons(at)atcc(dot)org > tel: 703.365.2700.2678 > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:253898 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

