To do this in apache, you don't even need mod_rewrite.

RedirectMatch /States/xq/ASP/StateName\.(\w+)/qx/index.htm 
/States/index.cfm?StateName=$1

Don't know if IIS has something like RedirectMatch or not...

-Ryan

Russ wrote:
> Pretty sure it's apache, since he mentioned mod_rewrite... 
>
> Russ
>
>   
>> -----Original Message-----
>> From: Steve Brownlee [mailto:[EMAIL PROTECTED]
>> Sent: Monday, February 12, 2007 11:53 AM
>> To: CF-Talk
>> Subject: RE: Quick help on a mod rewrite rule
>>
>> Mark,
>>
>> What web server are you using?
>>
>>
>> Steve Brownlee
>> http://www.fusioncube.net/
>>
>>
>> -----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:269526
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to