???? ID: 294807 - ????? ???????: 29 ??????? 2010 - ??????: 4.0

TO HOW: ??? Internet Explorer 5.x ?? 6.x ????? ???? ?? ?????? ?? "???????? HTTP ?????? ????? ??????"

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
?? ?????? ??????? ???? ??? ?? ??? ???????????? ?? ??? Microsoft ??????? ?????????? ???????? (IIS) ??????? 7.0 ???????? ?? Microsoft Windows Server 2008 ??? ??? ??? IIS 7.0 ???????????? ??? ?????? ??????? ?????? ??? IIS ???????-?????? ?????? ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://www.Microsoft.com/technet/Security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
IIS 7.0 ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://www.IIS.NET/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1)

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

??????

?? ??? ?? ??? ???? ????? ?? "?????? ???????? HTTP ?????? ?????" ?????? ?? ??? ???? ?? ??? ??????? ??????? ?? ????? ???? ???

?????

?? ?? ??? ??? ?? ?????? Internet Explorer 5?x?? Internet Explorer 6?x, ???????? ??????? ?? ???? ???? ?? ?? HTTP 500 ????? ?? ??? ?? Internet Explorer "????????" ?????? ????? ?? masked ???? ?? ???? ?? ???? ??? ??????? ?? ?? ???? ??? ?? ?????? ??? ???????? ??? ?? ???????? ??????? ?? ???, ?? ???? ?? ?????? ????? ?? "????????" ?????? ????? ?? ???????? ???? ???? ?? ??? ?? ?????-???? ???????

HTTP 1.1 ????????? ?? ?????? ??????? ?????????? ???????? (IIS) 5.0 ???? ?????? ???? 1 ???????? ???? ???? ???? ?? ?? ???? ?? ????? ?? ??? 500 ?? ?? ?????? ???xx2xx3xx4xx, ?? 5xx?????? ???, ???? "302 - ???????? Moved", ?? "404 - ????? ???? ????"? ?? IIS 4.0 ???? strictly ???? RFC 2616, ??????? ?? ?????? ????? ????? ASP-?????? Microsoft Visual Basic ???????????? ??????? (VBScript) ???? ?? 200 ?? ???? ?????? ??? ?? ??? ???????

HTTP 1.1 ????????? ?? ???? ??? ???? ??????? ?? ??? ????? ??? ???? ?? ????:
RFC 2616
HTTP://www.IETF.org/RFC/rfc2616.txt (http://www.ietf.org/rfc/rfc2616.txt)
?? ???-???? ?????? ??? ?? "????????" ?????? ????? ?? Internet Explorer 5?x????????? ???? ?? ?? ?? ??????? ????? ????? ?? ?? ???????? ??? ????? mask. ???????, ?? "????????" ?????? ????? ???? ????????? ???? ??? ??? ???????? ??????? ?? ???? ???? ?? ?? ???? ???? ?? ????? ???? ?? ??? ???? ????????? ????????? ??? ?????? ?? ???, ???? HTTP 500 ??????????? ?? ???? ??? ?? ????? ?? ??? ??????? ?? ????? ???? 512 ?????? ?? ???? ???

??? ?????? ??? ?? ???????? ?????? ??????? ?? ??????? ?????? ????????? ?? ???????? ????? ?? ??????? ???? ?? ??? ????????? ????? ?? ????????? ???? ?? ???? ??? ???????? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
218155  (http://support.microsoft.com/kb/218155/EN-US/ ) ???????????? ??????????? ????????? ?????? ????? ?? ?????
??? ????? ????? ?? ?? ???????? ????? ?? ????????? ???? ?? ??? ????? ??????? ??? ?? ???? ?? ?? ???? ????:

?????? 1:

  1. ???????? ?????? ????? ?????? ??? ??????? ??? ?? ??? ???:
    1. ??? Internet Explorer 5?x?? 6?x????? ????????????? ??,??????? ??????.
    2. ????? ????????????, ?? ???????????????, ???? ???? ?? ??? ????? ??????????? HTTP ?????? ????? ?????????????? ?? ????? ?? ??? ????? ????, ?? ???? ???OK.
    3. ??????? ??? ?????
  2. Internet Explorer ?????????? ??? ?? ?????? ?? ????? ??? ???? ?? ??? ??????????? HTTP ?????? ????? ????????????? ?? ??? ???? ??????? "????? ASP ?????????" ?????? ?? ???????? ???? ???? ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
    HTTP://TechNet.Microsoft.com/en-us/IE/bb219517.aspx (http://technet.microsoft.com/en-us/ie/bb219517.aspx)

???? 2

  1. IIS 5.0 ??? ???????? ?????? ?? ??? ????? ????? ?? ?? ????? ??? ?? ??? "????? ASP ?????????" ?????? ?? ????? ???????? ?????? ????? ?? ??????? ???? ?? ???? "????? ASP ?????????" ?????? ?? ??????? ???? ?? ??? ????? Microsoft ??? ???? ?? ????:
    HTTP://TechNet.Microsoft.com/en-us/library/bb727138.aspx (http://technet.microsoft.com/en-us/library/bb727138.aspx)
  2. ?? padding ??????????? ????? ??? ???? ?? ???, VBScript ?? ????? ?????????????? ?? ????, ?? ?? ?? ?? ?? ???????? ??? ???? ?? ??? ????? ?? ????ErrorThreshold?? Internet Explorer 5?x???????? ?????? ????? ????????? ???? ?? ??? ????? ???? ??? ?????? ?? ???, ????? ?????? ?? ????? ???? ??? 500 ?? ??? - 100.asp:
    <% Response.Write String(513, "_") %>
    					
  3. ??????? 500 ?????? ?? ????? ???? ?? ??? ???????? ?????????? = URL?? 500-100.asp ?? ?????????? ??????? =. ???????? ??? ??, 500 ?????? ???????? ?? ?? ????? ???? ?? ????????? ??????? =.???????? ??????? ?? ???, ???? ?? ???? ?????? ?? ????? ?? ???? ?? Microsoft ???????? ??? ?????::
    224070  (http://support.microsoft.com/kb/224070/EN-US/ ) ????? ASP ?????? ????? ?????
    ???:: IIS internally ??????? ?? ???? HTTP ?????? ??? ?? ??? ??? ???? ?? ??? ?? HTTP 500 ???????? ??? ??????? ????? That internal status code is changed to 500 before the response to the client is sent. This is the case with the ASPResponse.Status?????? ??? In these cases, the custom ASP error code is not checked in IIS. To work around these situations, use an Internet Server Application Programming Interface (ISAPI) filter that determines the status code that is sent to the client after IIS processes the page.

Method 3

Use an ISAPI filter that forces the content length of all HTTP 500 responses to be larger than 512 bytes, effectively padding all 500 responses so that they are large enough to override the "friendly" error setting in Internet Explorer 5.xand 6.x. Padresponse.exe is a sample ISAPI filter (and its source code) that demonstrates how to pad the response that is sent to the client (based on receiving an HTTP 500 status code).

????? ????? Microsoft ??????? ?????? ?? ??????? ?? ??? ?????? ??::
?? ??? ?? ??????? ?????? ??? ?? ??????? ????
Download Padresponse.exe now (http://download.microsoft.com/download/IIS50/Sample/1/NT45/EN-US/Padresponse.exe)
Release Date: April 27, 2001

Microsoft ?????? ??????? ?? ???? ??????? ???? ?? ???? ??? ???? ????? ?? ???, ????? ???? ?????? ?? ????? ?? ???? ?? Microsoft ???????? ??? ?????::
119591  (http://support.microsoft.com/kb/119591/EN-US/ ) ?????? ?????? ?? Microsoft ?????? ??????? ???? ??????? ????
Microsoft ????? ?? ??? ?? ????? ?? ????? ?? ??? Microsoft ?? ?? ?????? ?? ?????? ???? ??????? ?????-??? ?????????? ?? ????? ???? ?? ????? ????? ?? ?? ??.. ????? ?? ?? ???????-??????????? ????? ?? ???????? ???? ??? ?? ?? ????? ??? ???? ?? ??????? ???????? ?? ????? ??? ??? ???? ??..

??????

???????? ??????? ?? ??? ?????? ?? Microsoft ???????? ??? ????? ?? ??? ????? ???? ???????? ?? ????? ????:
261200  (http://support.microsoft.com/kb/261200/EN-US/ ) HTTP 500 Error Displays Instead of ASP Error from 500-100.asp
150312  (http://support.microsoft.com/kb/150312/EN-US/ ) HOWTO: Install an ISAPI Filter Dynamic-Link Library
??????: 
kbdownload kbhowtomaster kbmt KB294807 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:294807  (http://support.microsoft.com/kb/294807/en-us/ )