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.

There are a number of other differences too. If you post exactly what  
you want converted to what, I can give you some more precise pointers...


Seb


Seb Duggan
Web & ColdFusion Developer

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

On 7 Feb 2009, at 17:21, Will Tomlinson wrote:

>
> I'm attempting my first SES URL rewriting with the IIS ISAPI filter,  
> and having a few problems.
>
> I wanted to process .html files as .cfm's. That part seems to work,  
> but I have another rule that converts /EID/993 to ?EID=993
>
> My URL var doesn't seem to be seen on the action page.
>
> http://staging.ac100.org/calendarDetails.html?/EID/935
>
> I dump the value of URL.EID, and it's 0, which I had <cfparam>'d.
>
> Here are my rewrite rules in httpd.ini. Thanks for any help someone  
> could offer.
>
> RewriteRule (.*)/(.*)\.html(.*) /$2.cfm [I]
>
> #Convert SES URLs to standard URLs before passing them to ColdFusion
> RewriteRule (.*?\.cfm)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)? $1(?2$2&:\?) 
> $3=$4?5$5: [N,I]
> RewriteRule (.*?\.cfc)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)? $1(?2$2&:\?) 
> $3=$4?5$5: [N,I]
>
> I was using Brandon's tutorial here:
> http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=1070
>
>
>
> 

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