I just reinsalled Windows and PWS and got the same error.
I also tried to execute not existing script and got the same 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 "*": No such file or directory
Then I associated C:\perl\bin\ directory to my web server as /perl and
passed to perl.exe my script as parameter
(http:\\myserver\perl\perl.exe?C:\inetpub\lv.pl) and everything was OK, so i
decided, that the problem is that server do not pass correct path of script
to perl.exe.
I understand that it is not the solve to the problem.
When I passed non existing script to perl.exe with this configuration it
gives error like this
#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 "/script/nonexist.pl": No such file or directory
Maybe somebody know how to associate correct path of scripts to perl???
P.S. I have content-type line in my script...
Kaspars
-----Original Message-----
From: Kaspars Vilkens [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 12:19 PM
To: Perl-Web LISTSERV; Perl-Users LISTSERV; Perl-ADMINS LISTSERV;
Activeperl LISTSERV; Matthew Thompson
Subject: RE: Request...
Just tried. Not working like this (Gives same error)!!!
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
t Map]
".pl" = "C:\perl\bin\perl.exe %s %s"
Any other ideas?
Kaspars Vilkens
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
Thompson
Sent: Friday, February 16, 2001 11:56 AM
To: 'Kaspars Vilkens'; Activeperl LISTSERV
Cc: Perl-Web LISTSERV; Perl-Users LISTSERV; Perl-ADMINS LISTSERV
Subject: RE: Request...
I think you need to change the script map key to use %s like below. (I have
a very similar setup and this works ok on my PC)
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
t Map]
".pl" = "C:\perl\bin\perl.exe %s %s"
-----Original Message-----
From: Kaspars Vilkens [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:54 AM
To: Activeperl LISTSERV
Cc: Perl-Web LISTSERV; Perl-Users LISTSERV; Perl-ADMINS LISTSERV
Subject: Request...
#########################################################
#Well does anybody know what's the problem with my box???
#Any ideas on how to solve my problem?
#########################################################
Hallo,
I am new to Perl programming... so do not blame me for such a dummy question
:)
Well I am trying to install ActivePerl to my server but I get just errors...
I have
1) Windows98(2.edition)
2) PWS (That ships with the win)
3) I installed two required packages for win (DCOM98 and INSTMSI)
4) inserted following string into registry:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
t Map]
".pl"="C:\\perl\\bin\\perl.exe %1 %*"
5) I have perl version:
This is perl, v5.6.0 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
--->Perl scripts work fine at the command prompt... but through web this
gives:
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 "*": No such file or directory
Is there any ideas what is the problem???
mailto:[EMAIL PROTECTED]
Kaspars Vilkens
KN dati
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web