Re: A bit OT: Problem setting up Apache w/ cgi (perl)

Marc van Woerkom (van.woerkom nospam at netcologne.de)
Sun, 2 May 1999 21:46:36 +0200 (CEST)

> process'). The log reads (2)No such file or directory: couldn't
> spawn child process: c:/apache/cgi-bin/cdi/hget.pl

> What I believe is that perl isn't set up correctly with Apache,

One obstacle is that you have to teach Windows somehow to execute
hget.pl through the perl interpreter.

Before, I would ensure that it is possible to execute a batch file
at all.

Put some neilarmstrong.bat in your cgi-bin/cdi directory that does
nothing more than generate some friendly html:

echo "Content-type: text/html"
echo ""
echo "<h1>Gnorts, Earthling!</h1>"

And if you can see this - try the problem of executing through
perl instead of cmd.exe next.

Regards,
Marc