iis Site Settings page returns http error status code of 404 instead of 302 or other

  Today, a customer, said the site error page returns a status code is 302 and not 404, ytkah ask what to do. This should be set up not for the right reasons. We step by step to troubleshoot it. 1, first open iis Manager, select a specific site on the left side, click error page 404 in the right window, as shown in FIG.

 

  2, into the details of the error page configuration, status code 404 is selected, the right Point Authoring

  3, in the pop-up edit custom error page, choose the appropriate action to static content file into the appropriate error, the file path filled 404.html (edited 404.html advance to the root directory on the Web site), click OK

 

  4, and then click on the right set of editing functions, selected custom error pages to determine

 

  5, restart iis

  6, the detection error page using third-party tools http status code, if the 404 status code that is displayed in the right, if it would show other according to the above steps to re-allocation

 

Guess you like

Origin www.cnblogs.com/ytkah/p/11504668.html