Re: IIS 5 and Perl scripts location

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Egbert Nierop \(MVP for IIS\) (egbert_nierop_at_nospam.com)
Date: 03/05/04


Date: Fri, 5 Mar 2004 09:40:39 +0100


"John" <juanramosjr@hotmail.com> wrote in message
news:561cfa69.0403041656.d7d68ce@posting.google.com...
> I can't get IIS to read perl scripts from the following directory
> "C:\program files\myscripts". I get the following error:
>
> 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 "C:\Program": No such file or directory

That's the infamous DOS 8.3 compatibility. Many software, is written with
Win9x API's in mind (and NOT the WinNT API) that cannot stand spaces or long
file names. So does Perl.
Be sure that your version of perl supports filenames that include a space
(physically) or avoid the spaces as you found your selves.



Relevant Pages

  • Re: Using mail:sendmail module on IIS6
    ... Windows 2003 server with IIS6 ... I try to send a mail from a perl script using the mail:sendmail ... CGI Error ... instead of the HTTP headers that the server expects. ...
    (comp.lang.perl.misc)
  • Re: Moderation update
    ... It is funny you should mention Perl ... CGI Error ... in the html code with the same error so I know the fault is in the ... skills in the language on a project that I can't afford to get wrong. ...
    (uk.religion.christian)
  • Active Perl path reveal
    ... Windows.If you request name with .pl extension ... which doesn't exist in CGI-BIN Perl Interpreter returns ... CGI Error ... returning a complete set of HTTP headers. ...
    (Bugtraq)
  • Re: A simple script (!)
    ... > I have tried writing a simple script but it fails. ... > Clicking on the link gives the message 'CGI Error - the specified ... Cocoa programming in Perl: http://camelbones.sourceforge.net ...
    (comp.infosystems.www.authoring.cgi)
  • Re: Passing an cgi variable to a sql query
    ... > CGI Error ... > The specified CGI application misbehaved by not returning a complete set ... > of HTTP headers. ... A good discipline is to make a small test program to show the error. ...
    (comp.lang.perl.misc)