title: arr url rewrite not working for external sites
body: <p>We are trying to setup a reverse proxy mechanism using ARR and URL Rewrite. The rewriting is working fine when the target url is a one which is hosted in the same server. But when we try to route it to an external server the routing is now working. We are getting the </p>
  
  <pre><code>HTTP Error 502.3 - Bad Gateway
  The operation timed out 
  
  Module ApplicationRequestRouting 
  Notification ExecuteRequestHandler 
  Handler ApplicationRequestRoutingHandler 
  Error Code 0x80072ee2 
  Requested URL http://localhost:8882/ff 
  Physical Path D:\pocwebsites\exposed\ff 
  Logon Method Anonymous 
  Logon User Anonymous 
  
  
  •The CGI application did not return a valid set of HTTP errors.
  •A server acting as a proxy or gateway was unable to process the request due to an error in a parent gateway.
  
  •Use DebugDiag to troubleshoot the CGI application.
  •Determine if a proxy or gateway is responsible for this error.
  </code></pre>
  
  <p>Please find the web.config file given below,</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;system.webServer&gt;
      &lt;rewrite&gt;
          &lt;rules&gt;
          &lt;rule name="or_rule_1" enabled="true"&gt;
              &lt;match url=".*" /&gt;
              &lt;action type="Rewrite" url="http://www.cnn.com" /&gt;
          &lt;/rule&gt;
          &lt;/rules&gt;
      &lt;/rewrite&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>