Nath, Alok (STSD) wrote:
I have checked that.It was saying
[Fri Jul 28 12:55:08 2006] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't create child process:
720003: first.pl
[Fri Jul 28 12:55:08 2006] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't spawn child process:
C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/first.pl


-----Original Message-----
From: Mumia W. [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 2:35 PM
To: Beginners List
Subject: Re: Same Internal Server Error from last two days

On 07/28/2006 02:25 AM, Nath, Alok (STSD) wrote:
 Ramnish,
Here's my Hello World Cgi script which I am trying to run

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World.";

It has no problem.
[...]

When apache encounters an error, it records it in its error.log. What
does the error.log say about this program?



Hi Alok,

Have you tried changing the shebang line as I have mentioned in one of the follow up. Trying changing the shebang to

#!C:\Perl\bin\perl

-Ranish George




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to