Re: trying to get windows Apache to run cgi
by "peter newton" <c-newton(at)ihug.co.nz>
|
Date: |
Mon, 7 May 2001 21:57:06 +1200 |
To: |
<hwg-techniques(at)hwg.org> |
References: |
tim |
|
todo: View
Thread,
Original
|
|
Well Tim,
That happened to be a very good thought, I had only given the directory info
like so:-
#! c:\perl\bin
Now its working sweeeeeeeeeeeet, boy is this going to save me time from
uploads/downloads etc.
Many Thanks
Peter Newton
> 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