Well I'm not going to do a very good job without seeing the rest of the
samples... but something like this:
RewriteCond %{HTTP_HOST} ^www.wheretobuild.com$ [NC]
RewriteCond %{REQUEST_URI} ^/States/xq/ASP/StateName\.(.+)+/qx/index.htm$
[NC]
RewriteRule ^/(.*)$ http://
www.wheretobuild.com/States/index.cfm?StateName=%1 [R=301,L]
This is not tested, but this should work...
Russ
> -----Original Message-----
> From: Mark A Kruger [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 12, 2007 11:48 AM
> To: CF-Talk
> Subject: Quick help on a mod rewrite rule
>
> I apologize for those of you who may have seen this post on another list
> this morning... I'm having trouble finding an answer.
>
> I really suck at these. I need a rule that will turn this:
>
> http://www.wheretobuild.com/States/xq/ASP/StateName.Kansas/qx/index.htm
>
> Into this:
>
> http://www.wheretobuild.com/States/index.cfm?StateName=Kansas
>
> I know that there are some regex and SES experts on this list. Can any of
> you do in like 10 seconds? My first 3 attempts based on samples
> failed...
>
> -mark
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269523
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4