Re: [mp2] Child process exited

2003-08-20 Thread Chuck Tribolet
I just stumbled into this thread, trying to figure out how to fix the same error, generated by a C module. Convert 3221225725 to hex, and you get C0FD and THAT's the code for a stack overflow. Maybe a recursive function in your PERL code? -- Chuck Tribolet [EMAIL PROTECTED]

Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bill Rini
Here's a little snippet from a sample script: package MyApache::MyPackage; use strict; use warnings; use Apache::RequestRec (); use Apache::RequestIO (); use Apache::DBI; use APR::Table; use Apache::Const qw(OK REDIRECT DECLINED); use Apache::RequestUtil (); sub handler { my $r = shift; my

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Stas Bekman
[...] Location /b PerlSendHeader On SetHandler perl-script PerlHandler MyApache::MyPackage /Location [...] I want the document root directory to be handled by the PerlResponseHandler (i.e. Location /). For specific types of requests I would like the above handler to look

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bruce Tennant
I think you need to wrap it in a files block. The location block is sending all files to the perl handler. I had this problem, except it was trying to execute all of my non-perl files. Inside location, put something like Location /b FilesMatch \.(pl|pm|cgi)$ ... your mod_perl configs here

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Bill Rini
Hi Stas, Thanks for the help. Changing it to the PerlTransHandler did the trick. The weird part about it (to me) is that I was basically extending some code I had written about 2 years ago for a client and just changing the functionality around some. The meat of the program was pretty much

Apache 2.0.47, mod_perl.c

2003-08-20 Thread John Francis Lee
Hello, I've been having trouble running npi-cgi scripts under Apache 2.0.40. which came with rh 8.0, so am trying a more recent version of Apache. I downloaded the tarball for 2.0.47, compiled and installed. I get [EMAIL PROTECTED] httpd-2.0.47]# /etc/rc.d/init.d/httpd start Starting httpd:

Re: Apache 2.0.47, mod_perl.c

2003-08-20 Thread Stas Bekman
John Francis Lee wrote: Hello, I've been having trouble running npi-cgi scripts under Apache 2.0.40. which came with rh 8.0, so am trying a more recent version of Apache. I downloaded the tarball for 2.0.47, compiled and installed. I get [EMAIL PROTECTED] httpd-2.0.47]# /etc/rc.d/init.d/httpd