Browsing Folders with Script-Mapped Extensions Returns Errors (186803)
The information in this article applies to:
- Microsoft Internet Information Server 4.0
This article was previously published under Q186803 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
If you try to browse folders with extensions that are script-mapped, one
of the following errors occurs:
- HTTP 404
- HTTP 403
- Source code is returned to the browser.
- Other script/server errors are returned to the browser.
CAUSE
In general, it is bad practice to name a folder using an extension that is
MIME-mapped, but this holds especially true for scripted extensions. This
is because it is common to pass information to a Web script that will be
included as part of the PATH_INFO environment variable.
For example, a CGI program at the URL http://localhost/foo.cgi/default.htm
receives "/foo.cgi/default.htm" in PATH_INFO.
WORKAROUND
To work around this problem, name Web folders without extensions, or use
extensions that are not script-mapped.
Modification Type: | Minor | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbpending kbprb KB186803 |
---|
|