You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Francesc Guasch <fr...@etsetb.upc.edu> on 2005/01/12 16:01:11 UTC
no get_handlers in Apache::Filter with Axkit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi. I want to use the Axkit and Mason.
I got this error when I try to access to an AxKit page:
Can't locate object method "get_handlers" via package "Apache::Filter"
at /usr/local/web07/perl/lib/site_perl/5.8.6/Apache/Filter.pm line 106.
Mason pages run fine.
This is part of the AxKit config in apache:
<Location /xml/share/>
~ PerlModule Apache::Filter
~ PerlModule AxKit
~ SetHandler perl-script
~ PerlSetVar Filter On
~ AxProvider Apache::AxKit::Provider::Filter
~ PerlHandler HTML::Mason AxKit
~ AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
~ AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
~ AxDebugLevel 0
~ AxNoCache On
~ AxAddOutputTransformer My::Transformer
~ AxTranslateOutput On
~ AxOutputCharset iso-8859-1
~ PerlSetVar AxXPSInterpolate 1
</Location>
I read this could be because I didn't compile mod_perl with
perl_stacked_handlers, nor everything=1. I just tried with both:
DO_HTTPD=0 USE_APACI=1 PERL_STACKED_HANDLERS=1 EVERYTHING=1 PREP_HTTPD=1
~ APACHE_SRC=../$DIR_APACHE/src
This is the latest apache, mod_perl mason, axkit building from sources:
apache_1.3.33
mod_perl-1.29
perl-5.8.6
AxKit/1.62
HTML::Mason 1.28
Any hint will be appreciated. Thank you very much.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFB5Tu1VfvsWQAffzIRAsoVAKDcKssBAUr3pwHpk+VmvSoNh/pZvQCg04lA
dKU8FH/ovtrJKqIYTOtqaCQ=
=4Pw1
-----END PGP SIGNATURE-----