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
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: h
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
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
... your mod_perl configs here
--- Bill Rini <[EMAIL PROTECTED
[...]
PerlSendHeader On
SetHandler perl-script
PerlHandler MyApache::MyPackage
[...]
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 up some information in
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 $curr
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]
http://www.al