Reputation: 11
I have successfully applied IIS Rule (Enforce Lowercase URL) on my website but now I have one issue our one file combres.axd stopped loading. I tried to apply others way also which I found on stackoverflow but no success yet. Please advice how to fix this issue.
Upvotes: 0
Views: 50
Reputation: 12759
You could try below rule to change URL into lowercase:
<rule name="LowerCaseRule">
<match url="[A-Z]" ignoreCase="false"/>
<action type="Redirect" url="{ToLower:{URL}}"/>
</rule>
Below is the result:
Failed request tracing result:
If you still face and issue you could run failed request tracing in iis and check why the URL is giving you a 404 error. another thing make sure the file exists at the place with the same path and name.
Upvotes: 0