2014-11-23 63 views

回答

3

想通了。

 <rule name="LowerCaseURL" stopProcessing="true"> 
      <match url="[A-Z]" ignoreCase="false" /> 
      <conditions logicalGrouping="MatchAll"> 
       <add input="{HTTP_X_Requested_With}" pattern="^XMLHttpRequest$" negate="true" /> 
      </conditions> 
      <action type="Redirect" url="{ToLower:{URL}}" /> 
     </rule>