Microsoft KB Archive/935469

= FIX: The IP address or the host header of the server that is running IIS may be returned unexpectedly when you use the Request.ServerVariables collection together with the SERVER_NAME parameter in IIS 6 =

Article ID: 935469

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft Internet Information Services 6.0

-





SYMPTOMS
Consider the following scenario. You install Microsoft Internet Information Services (IIS) 6. In IIS 6, you use the Adsutil.vbs tool to set the UseHostName metabase property or the SetHostName metabase property. You view an ASP page that is hosted on IIS 6. The ASP page uses the Request.ServerVariables collection together with the SERVER_NAME parameter. In this scenario, the IP address or the host header of the server that is running IIS may be returned unexpectedly.



CAUSE
This problem occurs if an ISAPI filter or an ISAPI extension calls the ServerSupportFunction function together with the HSE_REQ_EXEC_URL parameter.



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

Prerequisites
You must have Windows Server 2003 Service Pack 1(SP1) or Windows Server 2003 SP2 installed to apply this hotfix.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
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 item in Control Panel.

IIS 6 on Windows Server 2003 SP1, Itanium-based versions

IIS 6 on Windows Server 2003 SP2, Itanium-based versions

IIS 6 on Windows Server 2003 SP1, x64-based versions

IIS 6 on Windows Server 2003 SP2, x64-based versions

IIS 6 on Windows Server 2003 SP1, x86-based versions

IIS 6 on Windows Server 2003 SP2, x86-based versions



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
If an ISAPI filter or an ISAPI extension calls the ServerSupportFunction function together with the HSE_REQ_EXEC_URL parameter, IIS 6 does not copy the name in the alternate host name field. When this problem occurs, the host header of the server that is running IIS is returned.

Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver KB935469

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.