Microsoft KB Archive/843518

= The host header is not updated to reflect the new port number in Internet Explorer when you redirect HTTP requests that contain a port number =

Article ID: 843518

Article Last Modified on 8/29/2007

-

APPLIES TO

 Microsoft Internet Explorer 6.0 Microsoft Internet Explorer 6.0, when used with:  Microsoft Windows XP Service Pack 1

 

 

 </li></ul>

 </li></ul>

 </li></ul> </li></ul>

-

<div class="notice_section">

<div class="notice_section">

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

<div class="symptoms_section">

SYMPTOMS
When you redirect HTTP requests that contain a port number, you notice that the redirected host header is not updated to reflect the new port number in Microsoft Internet Explorer 6.

<div class="cause_section">

CAUSE
This problem occurs because Internet Explorer 6 is not RFC-compliant for the host header.

<div class="resolution_section">

RESOLUTION
To resolve this problem, you must install the hotfix that is described in this article. Then you must configure the registry.

Service pack information
To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Internet Explorer 6 for Windows XP
<pre class="fixed_text">  Date         Time   Version        Size     File name 12-Aug-2004 22:49  6.0.2800.1463  572,416  Wininet.dll

Internet Explorer 6 for Windows XP Service Pack 2
<pre class="fixed_text">  Date         Time   Version        Size     File name 06-Mar-2005 00:33  6.0.2900.2625  657,920  Wininet.dll 25-Feb-2005 03:53  6.1.22.4       371,936  Updspapi.dll

Internet Explorer 6 for Windows Server 2003
<pre class="fixed_text">  Date         Time   Version       Size     File name 05-Mar-2005 03:48  6.0.3790.283  628,224  Wininet.dll

Internet Explorer 6 for Windows Server 2003 with Service Pack 1, x86-based versions
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To configure the option for the computer, follow these steps: <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following subkey in the registry:

</li> On the Edit menu, point to New, and then click Key.</li> Type UPDATE_HOST_PORT_ON_REDIRECT_KB843518 for the name of the subkey, and then press ENTER.</li> Click the UPDATE_HOST_PORT_ON_REDIRECT_KB843518 subkey, point to New on the Edit menu, and then click DWORD Value.</li> Type iexplore.exe for the name of the DWORD, and then press ENTER.</li> Right-click iexplore.exe, and then click Modify.</li> In the Value data box, type 0x1, and then click OK.</li> Locate and then click the following subkey in the registry:

</li> On the Edit menu, point to New, and then click Key.</li> <li>Type UPDATE_HOST_PORT_ON_REDIRECT_KB843518 for the name of the subkey, and then press ENTER.</li> <li>Click the UPDATE_HOST_PORT_ON_REDIRECT_KB843518 subkey, and then on the Edit menu, point to New, and then click DWORD Value.</li> <li>Type iexplore.exe for the name of the DWORD, and then press ENTER.</li> <li>Right-click iexplore.exe, and then click Modify.</li> <li>In the Value data box, type 0x1, and then click OK.</li> <li>Quit Registry Editor.</li></ol>

To configure the option for the user, follow these steps: <ol> <li>Click Start, click Run, type regedit, and then click OK.</li> <li>Locate and then click the following subkey in the registry:

</li> <li>On the Edit menu, point to New, and then click Key.</li> <li>Type UPDATE_HOST_PORT_ON_REDIRECT_KB843518 for the name of the subkey, and then press ENTER.</li> <li>Click the UPDATE_HOST_PORT_ON_REDIRECT_KB843518 subkey, point to New on the Edit menu, and then click DWORD Value.</li> <li>On the Edit menu, point to New, and then click DWORD Value.</li> <li>Type iexplore.exe for the name of the DWORD, and then press ENTER.</li> <li>Right-click iexplore.exe, and then click Modify.</li> <li>In the Value data box, type 0x1, and then click OK.</li> <li>Locate and then click the following subkey in the registry:

</li> <li>On the Edit menu, point to New, and then click Key.</li> <li>Type UPDATE_HOST_PORT_ON_REDIRECT_KB843518 for the name of the subkey, and then press ENTER.</li> <li>Click the UPDATE_HOST_PORT_ON_REDIRECT_KB843518 subkey, point to New on the Edit menu, and then click DWORD Value.</li> <li>Type iexplore.exe for the name of the DWORD, and then press ENTER.</li> <li>Right-click iexplore.exe, and then click Modify.</li> <li>In the Value data box, type 0x1, and then click OK.</li> <li>Quit Registry Editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows Server 2003 Service Pack 2.

<div class="references_section">