RE: trying to get windows Apache to run cgi

by "tim booker" <timbooker(at)btinternet.com>

 Date:  Mon, 7 May 2001 09:53:56 +0100
 To:  "'peter newton'" <c-newton(at)ihug.co.nz>
 Cc:  "HWG \(E-mail\)" <hwg-techniques(at)hwg.org>
 In-Reply-To:  dad
  todo: View Thread, Original
The top line of your Perl script must include the path to the Perl
interpreter.  In my case:

#! c:\perl\bin\perl.exe

Just a thought.....

Tim



http://www.timbooker.com/




> -----Original Message-----
> From: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of peter newton
> Sent: 07 May 2001 07:12
> To: hwg-techniques(at)hwg.org
> Subject: trying to get windows Apache to run cgi
>
>
> Hello all,
>
> Having installed Apache1.3.19  for windows on my pc, I now
> want to enable
> the server to process cgi scripts so that I can develope
> dynamic webpages
> locally without risking a crash in a real environment.(also
> it keeps my
> phone free.)
>
> having read through the httpd-conf  file I thought I had finally set
> everything up OK when I get an "Internal Server Error"
> response when I type
> in:-
>
> http://localhost/cgi-bin/tmp.pl
>
> into my browser address window
>
> looking up the error logs reveals the following:-
>
> [Mon May 07 17:45:55 2001] [error] [client 127.0.0.1]
> couldn't spawn child
> process: c:/myhost/www/cgi-bin/tmp.pl
>
> tmp.pl is a basic hello world script outputing text/html.
>
> What have I missed or mucked up.
>
> Thanks
> Peter Newton
>
>
>
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA