title: How can I detect browser in web.config or in ARR (url rewrite)
body: <p>I am working on a third party tool, as its not https (secured), we use URL Rewrite (ARR) feature.</p>
  
  <p>Now I also want to display an html if the browser used is not Chrome or IE11.</p>
  
  <p>Is there any way where I can detect browser settings in web.config or in URL - Rewrite, please do let me know.</p>
  
  <pre><code>&lt;rewrite&gt;
    &lt;rules&gt;
      &lt;rule name="BlockIE9" stopProcessing="true"&gt;
        &lt;match url=".*" /&gt;
        &lt;action type="Redirect" url="test.html" redirectType="Permanent" /&gt;
        &lt;conditions&gt;
          &lt;add input="{HTTP_USER_AGENT}" pattern="MSIE\+[0-10]\.0" negate="true"/&gt;
        &lt;/conditions&gt;
      &lt;/rule&gt;
  
      &lt;rule name="TestURLRewrite" stopProcessing="true"&gt;
        &lt;match url="(.*)" /&gt;
        &lt;action type="Rewrite" url="http://localhost:5601/{R:1}" logRewrittenUrl="true" /&gt;
      &lt;/rule&gt;
    &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>Thanks and Regards</p>
  
  <p>cmr</p>