I have created a rewrite rule for javascript and css versioning in IIS 7. The rule is defined as follows:
<rewrite>
<rules>
<rule name="Js/Css Cache Rewrite" stopProcessing="true">
<match url="(.+/public/(javascript|css)/(Debug|Release)/.+\.)\d+\.(js|css)" />
<action type="Rewrite" url="{R:1}{R:4}" logRewrittenUrl="true" />
</rule>
</rules>
</rewrite>
When I manually test the url against the regex it matches. The url follows this pattern: http://mytestsite.com/public/javascript/Release/SomeDir/jsfile.20100915140743.js
Any ideas on what I could be missing for the configuration?