An incomplete URL path is recorded for the cs-uri-stem field in the IIS log file (885347)



The information in this article applies to:

  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services version 5.1

We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SYMPTOMS

When you turn on logging in Microsoft Internet Information Server (IIS) 4.0, Microsoft Internet Information Services (IIS) 5.0, or IIS 5.1, the cs-uri-stem client URI field in the IIS log file does not record the complete path that the client requests.

Note The IIS log files are located in the C:\WinDir\SYSTEM32\LOGFILES\W3SVC folder.

For example, a GET request with the URL http://server/vdir/myisapi.dll.pathinfohere?getthisdata=information is expected to log the following information:

80 GET /vdir/myisapi.dll.pathinfoheregetthisdata=information

Instead, the example GET request logs the following information:

80 GET /vdir/myisapi.dllgetthisdata=information

WORKAROUND

To work around this behavior, implement an audit policy in Microsoft Windows 2000 for the specific events that you want to track. For more information about auditing and intrusion detection in Windows 2000, see Chapter 9, "Auditing and Intrusion Detection," in Microsoft Solution for Securing Windows 2000 Server. To read this chapter in Microsoft Solution for Securing Windows 2000 Server, visit the following Microsoft Web site: You can also use the URLScan tool to control and monitor HTTP requests. For additional information about the URLScan tool, click the following article number to view the article in the Microsoft Knowledge Base:

307608 Using URLScan on IIS


Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbtshoot kbprb KB885347 kbAudITPRO