Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

How to remove/customize html text displayed with response code 302 ?

$
0
0

Hi,

I have an application using FastCGI in IIS6.

We are migrating this application to IIS7.5, and we have problems with it : when our FastCGI application answers a 302 code, IIS7 sends a small html text in content :

<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="...">here</a></body>

The problem is that the http client gets this html page as content, and then the redirected content.

How can i ask IIS7.5 not to answer some html text into the 302 response (only headers, and Content-Length=0) ??

Thank you very much !

Thomas


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>