[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: error in Apache::Util
From: Alex Krohn <alex () gossamer-threads ! com>
Date: 2000-04-28 20:00:27
[Download RAW message or body]
Hi!
I'm running mod_perl 1.23/apache 1.3.12/perl 5.005_03 on Mandrake 7.
mod_perl seems to be up and running and things are working well.
However, I add:
<Location /test>
SetHandler perl-script
PerlHandler My::Test
</Location>
and Test.pm looks like:
sub handler {
my $r = shift;
$r->send_http_header("text/html");
use Apache::Util ();
print Apache::Util::escape_html("<code>");
}
When I go to /test I get internal server error, and this in the logs:
[Fri Apr 28 12:59:57 2000] [error] Can't locate loadable object for
module Apache::Util in @INC (@INC contains: /home/alex
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
. /usr/local/apache_perl/ /usr/local/apache_perl/lib/perl) at
/usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535
BEGIN failed--compilation aborted at /home/alex/My/Tester.pm line 8.
[Fri Apr 28 12:59:57 2000] [error] Undefined subroutine &My::Tester::handler called.
which seems to be a problem loading Apache::Util. Any idea where to go
>from here to debug?
Cheers,
Alex
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic