You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by P Karthick <pk...@premiertechnologygroup.com> on 2006/05/25 19:32:07 UTC

[users@httpd] Error while executing CGI Scripts

Hi Apache users,

I am using windows 2000 and apache 2.0.

When I am trying to run the CGI script, i am getting the following error recorded in the error.log of apache server:

[Thu May 25 10:25:11 2006] [error] [client 203.129.222.228] (OS 3)The system cannot find the path specified.  : couldn't create child process: 720003: 1.cgi
[Thu May 25 10:25:11 2006] [error] [client 203.129.222.228] (OS 3)The system cannot find the path specified.  : couldn't spawn child process: C:/tempk/auto/1.cgi

Server configuration
**********************************************
LoadModule cgi_module modules/mod_cgi.so

ScriptAlias /status/ "C:/tempk/auto/"
<Directory "C:/tempk/auto">
Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

The CGI file is in the C:/tempk/auto directory.
I have enabled the mod_cgi module.

How can i fix this issue ?

Thanks and Regards,
Karthick P


Re: [users@httpd] Error while executing CGI Scripts

Posted by Joshua Slive <jo...@slive.ca>.
On 5/25/06, P Karthick <pk...@premiertechnologygroup.com> wrote:
>
>
> Hi Apache users,
>
> I am using windows 2000 and apache 2.0.
>
> When I am trying to run the CGI script, i am getting the following error
> recorded in the error.log of apache server:
>
> [Thu May 25 10:25:11 2006] [error] [client 203.129.222.228] (OS 3)The system
> cannot find the path specified.  : couldn't create child process: 720003:
> 1.cgi
> [Thu May 25 10:25:11 2006] [error] [client 203.129.222.228] (OS 3)The system
> cannot find the path specified.  : couldn't spawn child process:
> C:/tempk/auto/1.cgi
>
> Server configuration
> **********************************************
> LoadModule cgi_module modules/mod_cgi.so
>
> ScriptAlias /status/ "C:/tempk/auto/"
> <Directory "C:/tempk/auto">
> Options None
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> The CGI file is in the C:/tempk/auto directory.
> I have enabled the mod_cgi module.
>
> How can i fix this issue ?

How is the ScriptInterpreterSource directive set?  What is the first
line of the CGI script?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org