Page 1 of 1

Do I need the Perl addon to run simple CGI script?

PostPosted: 20. March 2007 09:47
by viking2ev
Sorry for a novice question..

I tried to run a simple CGI script written in perl, and put the CGI script in the CGI folder. However, I get this error:

The server encountered an internal error and was unable to complete your request.

Error message:
couldn't create child process: 720003: hw.cgi


Do I need to install the perl add-on to get it to work? If so, which version?

Here is the CGI test script. Is the first line correct? If not, what should it be?

------------------
#!/usr/bin/perl

print "Content-Type: text/html\n\n";

print 'hello world';
exit;
--------------------

TIA

PostPosted: 20. March 2007 14:27
by Wiedmann
Is the first line correct?

Das a "dir \usr\bin\perl" in a command shelll (cmd.exe) work on your pc?

if not, what should it be?

The path (and program name) to your "perl.exe".