CGI Scripts Must Use Full Directory Path

ID: Q151963


The information in this article applies to:
  • Microsoft Internet Information Server version 1.0


SYMPTOMS

CGI scripts that manipulate files in directories other than where the CGI script is executed will not run correctly if the CGI script references virtual directory aliases rather than the full path to the file.


CAUSE

The Internet Information Server (IIS) CGI interface does not recognize virtual directory names.


RESOLUTION

For example, when you open a file, use the following:


   c:\inetsrv\scripts\data\mycgidata.txt 

instead of the following:

   /scripts/data/mycgi.txt. 


STATUS

Microsoft has confirmed this to be a problem in Microsoft Internet Information Server version 1.0. We are researching this problem and will post new information here as it becomes available.

Additional query words: prodiis

Keywords : kbnetwork kbbug1.00 iiscgi
Version : 1.0
Platform : WINDOWS
Issue type :


Last Reviewed: April 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.