Microsoft KB Archive/275601

= Virtual Directory Names with Executable Extensions Are Not Used Correctly =

Article ID: 275601

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Server 3.0
 * Microsoft Internet Information Server 4.0

-



This article was previously published under Q275601



SYMPTOMS
When a virtual directory name ends with an executable extension (such as .com, .exe, .dll, or .sh), the files in this virtual directory cannot be viewed with a Web browser.

If the execution rights are not set in this virtual directory, the following error message occurs:

403.1 - Forbidden: Execute Access Forbidden

If the execution rights are set (or write access), the following error message occurs:

404 - File not found

Note Microsoft does not recommend having a virtual directory name that contains .asp because its content will be considered ASP content by Internet Information Services (IIS), regardless of the file types that are present in the virtual directory.



CAUSE
IIS interprets the virtual directory with an executable extension as an executable file and tries to run this file. The rest of the URL is passed in the Path_Info variable. Tools such as the FrontPage Server Extensions make use of this functionality.

Additional query words: kbDotCom

Keywords: kbprb kbpending KB275601

-

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

© Microsoft Corporation. All rights reserved.