title: IIS reverse proxy with rewrites can't handle a redirect from the server we proxy to
body: <p>We own server A, and on some occasions we rewrite requests to our partner on server B.</p>
  
  <p>In some cases server B will respond with a redirect to a completely different website, which is what is expected, let's say server C. However, when that redirect form server B comes back to server A, server A interprets it as a redirect to a location on iteself (A) and not as a redirect to other website - server C.</p>
  
  <p>How do I take note of the redirect to the external website and actually go there, rather than assuming that redirect is on my server (and 404ing)? We're running IIS 7 with the rewrite module.</p>
  
  <p>Any help much appreciated.</p>