Web Servers General Talk - RE: Apache - CGI problems

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > January 2004 > RE: Apache - CGI problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Apache - CGI problems
Stephen Adam

2004-01-19, 6:31 am

Hi there,



I have a bit of a problem with getting CGI to work under apache. The full
error messages taken from the error log is shown below. I assume I need to
set the correct access rights for CGI scripts to execute, though I have
looked at several tutorials and I'm still not getting anywhere.



I have added ExecCGI to the end of this line in httpd.conf - Options
Indexes FollowSymLinks



Whats going wrong? The program is also shown below and is simple enough such
that their should not be any problems (so I thought). I am running XP pro
with SP1 installed and Apache version 2.0.47.



Thanks in advance



Steve







[Tue Oct 14 22:43:47 2003] [error] [client 127.0.0.1] (OS 5)Access is
denied. : couldn't create child process: 720005: hello.pl

[Tue Oct 14 22:43:47 2003] [error] [client 127.0.0.1] (OS 5)Access is
denied. : couldn't spawn child process: C:/Program Files/Apache
Group/Apache2/cgi-bin/hello.pl





Program (have tried with a few others aswell )



#!C:\Perl\bin

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

print "hello world";



exit(0);



Muthu

2004-01-19, 6:31 am

I'm having the same problem too. Does anybody have any
idea on how to fix this ? Please let us know. Thanks
Muthu.


"Stephen Adam" <stephen.adaam@ntlworld.com> wrote in message news:<tE_ib.659$Rm5.275@newsfep1-gui.server.ntli.net>...
quote:

> Hi there,
>
>
>
> I have a bit of a problem with getting CGI to work under apache. The full
> error messages taken from the error log is shown below. I assume I need to
> set the correct access rights for CGI scripts to execute, though I have
> looked at several tutorials and I'm still not getting anywhere.
>
>
>
> I have added ExecCGI to the end of this line in httpd.conf - Options
> Indexes FollowSymLinks
>
>
>
> Whats going wrong? The program is also shown below and is simple enough such
> that their should not be any problems (so I thought). I am running XP pro
> with SP1 installed and Apache version 2.0.47.
>
>
>
> Thanks in advance
>
>
>
> Steve
>
>
>
>
>
>
>
> [Tue Oct 14 22:43:47 2003] [error] [client 127.0.0.1] (OS 5)Access is
> denied. : couldn't create child process: 720005: hello.pl
>
> [Tue Oct 14 22:43:47 2003] [error] [client 127.0.0.1] (OS 5)Access is
> denied. : couldn't spawn child process: C:/Program Files/Apache
> Group/Apache2/cgi-bin/hello.pl
>
>
>
>
>
> Program (have tried with a few others aswell )
>
>
>
> #!C:\Perl\bin
>
> print "Content-type:text/html\n\n";
>
> print "hello world";
>
>
>
> exit(0);


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com