I am trying to write a regex for IsapiRewrite4.

I would like any url that is directly to the root (ie www.site.com) or
to ( www.site.com/index.cfm ) with 3 required paramaters after it, and
additional paramaters possibly.  So:

www.site.com/user/user/list/  would change to
www.site.com/index.cfm?event=user.user.list
www.site.com/index.cfm/user/user/list/ would change to
www.site.com/index.cfm?event=user.user.list
www.site.com/article/list/details/My-Big-Fat-Code-Monkey/Loves-Cheese
would change to
www.site.com/index.cfm?event=article.list.details?vars=My-Big-Fat-Code-M
onkey|Loves-Cheese


Here is what I was working with and getting nowhere:

[IsapiRewrite4.ini file]

RewriteLog  d:\temp\iirfLog.out
RewriteLogLevel 5

IterationLimit 0
RewriteRule ^/index\.cfm(/.+/.+/.*\?.+\..*)$ /index.cfm?event=$1.$2.$3


I am trying to get this to work properly using IsapiRewrite4, but a) the
debug output is not very useful (bad expression, loading default) and
when I do get it to run, all I get is the default model-glue page.  Has
anyone else done this? Thanks for any help or direction you can give me!

Chris Peterson

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278306
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to