It may take a bit more work, but this solution is meant to work this way, not make something work by breaking other things (all respect to the 404-error afficianados out there, and no disrespect intended... I just don't like fixing things by masking other broken things... it's a matter of using things to their intended purpose).
Anyway, here's the URL, it's about using a combination of mod_rewrite and mod_proxy to create masked URLs: http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/balancing_j2ee03.html It works as well with CF as it does with Jrun, and it's all practically the same thing anyway, you just have to read .cfm in a few places and apply the concept to your problem. I set it up in a few mintues one afternoon. The only real issue is tweaking your regexes so your links don't end up broken... here's another bit of writing on the subject: http://blaine.korte.ca/index.cfm?mode=entry&entry=A8CFD94A-E18C-C9BC-0384EA187AF34613 Best'o'Luck... Laterz! J On Apr 8, 2005 8:13 PM, olivier <[EMAIL PROTECTED]> wrote: > 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&promo=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 !!! -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://www.web-relevant.com/blogs/cfobjective ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202130 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54