Thanks.  That's what I've decided must be the case.

I have removed ActivePerl and PWS and then reinstalled - first PWS then
ActivePerl Build 623.  Then I recreated the registry entry at
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Script
Map\.pl, "C:\Perl\Bin\Perl.exe %s %s" (I wonder why they don't make that
entry during install).

Now I get a more familiar error:

"HTTP Error 403
403.1 Forbidden: Execute Access Forbidden

This error can be caused if you try to execute a CGI, ISAPI, or other
executable program from a directory that does not allow programs to be
executed."

However, the directory that my script is in is marked Executable, as is the
directory that perl.exe is in!

What am I missing (this time)?

TIA

Lane
----- Original Message -----
From: "Grant McLean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 1:43 PM
Subject: RE: Outta my tree!


> It sounds like your web server is starting perl.exe but is not
> passing the name of the script on the command line.  This means
> when perl runs it expects to read the script from standard input
> and will keep waiting/reading until end of file.
>
> The registry key which maps .pl to perl.exe should look something
> like this:
>
>   C:\Perl\bin\perl.exe "%s" "%s"
>
> Good luck
> Grant
>
> =====================================================================
> Grant McLean       | email: [EMAIL PROTECTED] | Lvl 6, BP House
> The Web Limited    | WWW:   www.web.co.nz    | 20 Customhouse Quay
> Internet Solutions | Tel:   +64 4 495 8250   | Box 1195, Wellington
> Awesome service    | Fax:   +64 4 495 8259   | New Zealand
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 13, 2001 4:59 PM
> > To: [EMAIL PROTECTED]
> > Subject: Outta my tree!
> >
> >
> > I have just installed ActiveState Perl on a Windows98 box running PWS.
> >
> > Each time I invoke a perl script from a web browser the
> > script times out
> > UNLESS I use CTRL+ALT+DEL.  When I do that I see an instance
> > of PERL running
> > in the task manager.  When I end that task the script returns
> > 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:
> >
> > I believe that the issue has to do with the registry edit required by
> > http://localhost/perl/faq/Windows/ActivePerl-Winfaq6.html#How_
> do_I_configure
> _IIS_3_0_or_lo .  How should that registry key look?  Or am I barking up
> the
> wrong tree?
>
> Thanks for your help
>
> lane
>
>
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activeperl
>

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to