<system.webServer>
<rewrite>
<rules>
<rule name="Rule1" patternSyntax="Wildcard" stopProcessing="true">
<match url="cat/*" />
<action type="Redirect" url="/" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
<system.webServer>
<rewrite>
<rules>
<rule name="Rule1" patternSyntax="ExactMatch" stopProcessing="true">
<match url="cat/" />
<action type="Redirect" url="/" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>