Hi I have the following rules I want to import into IIS URL rewrite:
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=http:// [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(\.\.//?)+ [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=/([a-z0-9_.]//?)+ [NC]
RewriteRule .* - [F]
However, when using the import, I get this error: This rule was not converted because only some of the conditions are using the OR flag.
Any ideas on how to do this in IIS?
AND
andOR
for the same rule (when it is a group of conditions, it is eitherMatchAny
orMatchAll
). – cheesemacfly