You need a dollar sign at the end of the regular expression. Then it should work.
cheers, barneyb On Tue, Mar 17, 2009 at 4:08 PM, Les Mizzell <[email protected]> wrote: > > Need a little hlep on a IIS URL Rewrite Rule: > > I've got the files: > > 1. RSVP/index.cfm - currently contains a jump menu that goes to: > 2. RSVP/rsvp_form.cfm?eventcode=#evntCODE# > > Clinet requested an IIS URL rewrite to go directly to the for in the > format RSVP/#evntCODE# > > So, the rule that works is: > ^RSVP/([_0-9a-z-]+) > > Rewrite to: > /RSVP/rsvp_form.cfm?eventcode={R:1} > > This works, but the problem is, since RSVP is the name of the existing > folder containing all the files, I need the rule to ignore anything else > like: > > RSVP/index.cfm or any other "real" url inside that folder > > Not sure how to pull that off. > > The client requested the "friendly" URL, but there's a lot of > newsletters and such with the actual address "RSVP/index.cfm" already > listed, so that need to continue to work correctly as well. > > Ideas? Or am I going to have to rename the "RSVP" folder and then come > up with a way to redirect requests using the old address to the correct one? > > That's confusing, right? See why *I'm* confused! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320598 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

