Advertisement
hecrus

LOWER CASE URL

Sep 17th, 2021
1,177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.44 KB | None | 0 0
  1.  <rule name="LowerCaseURL" stopProcessing="true">
  2.             <match url="[A-ZА-Я]" ignoreCase="false" />
  3.             <conditions logicalGrouping="MatchAll">
  4.                         <add input="{HTTP_X_Requested_With}" pattern="^XMLHttpRequest$" negate="true" />
  5.                         <add input="{URL}" pattern="[А-Я]" negate="true" />
  6.             </conditions>
  7.             <action type="Redirect" url="{ToLower:{URL}}" />
  8.         </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement