This should do the trick:

RewriteRule ^calendarDetails\.html/EID/([0-9]+)$ /calendarDetails.cfm? 
EID=$1 [NC]

[NC] is the equivalent of [I] in v2 (case insensitive match).

And this assumes that the files are at your site's root, and that it's  
always an EID value you're matching. (If the key value in the  
querystring varies, you could use a regex for that too).


Seb Duggan
Web & ColdFusion Developer

e:      [email protected]
t:      07786 333184
w:      http://sebduggan.com

On 8 Feb 2009, at 23:16, Will Tomlinson wrote:

>
>> What version of ISAPI Rewrite are you using?
>>
>> The tutorial looks as though it's written for v2; whereas in v3 it is
>> much more like the syntax of Apache's mod_rewrite. Which means that
>> the querystring is not actually seen as part of the URL in
>> RewriteRule, but can be accessed via a RewriteCond.
>
>
> I'm using V3 I believe. I just want to convert:
>
> calendarDetails.html/EID/935 ->  calendarDetails.cfm?EID=935
>
> Thanks much!
>
> Will
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:319052
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