Subject: configuring apache to run cgi -perl on win32 system


> Hello, thank you for taking the time to read this, I hope you can help, I
> have downloaded the release of Apache/1.3.20   to run on windows 98. I
wish
> to run perl cgi so I have made the following changes to the httpd.config
> file
>
>
>
> changed      #ServerAdmin  to   ServerAdmin   [EMAIL PROTECTED]
>
>
> changed  #ServerName to   ServerName 127.0.0.1
>
>
> removed the #    precedding    "AddHandler cgi-script .cgi
>
>
>
> I then placed the following program named "hello.cgi"  in the directory
> c:/apache/cgi-bin/
>
>
> ##############
>
> #!/usr/local/bin/perl
>
> # hello.pl -- my first perl script!
>
> print "Content-type: text/html\n\n";
>
> print "Hello, world!\n";
>
>
> ###############  this script runs ok from the command
line##################
>
>
>
> I then went to the url   http://localhost/cgi-bin/hello.cgi
>
>
> I get this error message
>
> ##############
>
> Fri Oct 12 20:48:47 2001] [error] [client 127.0.0.1] couldn't spawn child
> process: c:/apache/cgi-bin/hello.cgi
>
> ##############
>
>
> what am I doing wrong?  Activestate Perl    is installed at
> C:\Perl\bin\perl.exe   I think this has something to do with it. But I Ive
> been looking at this config file for the last eight hours and dont know
> anymore..
>
>
> Anyway If you can help thanks in advance...
>
> Ric
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to