Hi everyone,
I seem to have encountered a rather strange issue. I have two sites running on one IIS (7.0) Server. The server has the URL Rewrite Module installed. The server hosts two sites, one production site and a testing site for the production site.
Both sides have an identical web.Config (ApplicationPool etc. also) with the following Rewrite-Rule in it, that should replace the fingerprinted URL for static resources (JScript-Files, CSS-Files) to their actual locations:
<system.webServer><!-- Other settings... --><rewrite><rules><rule name="fingerprint"><match url="([\S]+)(/v-[0-9]+/)([\S]+)" /><action type="Rewrite" url="{R:1}/{R:3}" /></rule></rules></rewrite></system.webServer>
Now my problem is, that on the testing site, the rule works fine, but not on the production site. On the production site it does work - however only with action type "Redirect" but not with "Rewrite".
So my guess is that I did misconfigure the production site, but I didn't find the setting that I did wrong. Where do I have to look for differences?
Regards,
David