Hi,
I am a newbie to the mod_perl for Apache . I am trying to run a simple
perl script under Apache 2.2 . HOwever, it seems to be either crashign
teh server or saying client denied by server configuration.
The PERL is Active Perl 5.8
The Apache Server is version 2.2.6
The httpd.conf reads like this :
LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
PerlModule ModPerl::Registry
Alias /perl/ "C:/Apache22/perl/"
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>
PerlModule Apache2::Hello
<Location /hello>
SetHandler modperl
PerlResponseHandler Apache2::Hello
</Location>
The Apache error log reads:
[Wed Dec 05 16:53:05 2007] [notice] Child 4224: Starting thread to
listen on port 80.
[Wed Dec 05 16:53:19 2007] [notice] Parent: child process exited with
status 9 -- Restarting.
[Wed Dec 05 16:53:19 2007] [notice] Apache/2.2.6 (Win32) mod_perl/2.0.3
Perl/v5.8.8 configured -- resuming normal operations
[Wed Dec 05 16:53:19 2007] [notice] Server built: Sep 5 2007 08:58:56
[Wed Dec 05 16:53:19 2007] [crit] (22)Invalid argument: Parent: Failed
to create the child process.
[Wed Dec 05 16:53:19 2007] [crit] (OS 6)The handle is invalid. :
master_main: create child process failed. Exiting.
[Wed Dec 05 16:53:49 2007] [notice] Parent: Forcing termination of child
process 36
I would appreciate if I could get some pointers/workaround for this issue.
Regards
Proneet.
--
----------------------------------------------------------------------------