Microsoft KB Archive/164144

= Perl Engine Does Not Allow Spaces in Directory or Script Name =

Article ID: 164144

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Internet Information Server 2.0

-



This article was previously published under Q164144



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:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
Your browser may return the following error message:

CGI Error

The specified CGI application misbehaved by not returning a complete

set of HTTP headers. The headers it did return are:

Can't open Perl script "D:\InetPub\wwwroot\": No such file or directory



CAUSE
The directory name within the Perl script has a space in it, or the script name has a space in it.

When you try to run the script, the Perl engine only sees the first half of the script name.



WORKAROUND
Remove any spaces in the directory path names or any spaces in the script name.

Keywords: kbinterop kbprb KB164144

-

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

© Microsoft Corporation. All rights reserved.