>I have an out of the box axkit installation working with debian/woody
>and I am trying to get the filter provider to work with simple cgi's ...
>Just like the howto says ... Everything works fine if I redirect the cgi
>to a xml file elsewhere... Ala "perl index.cgi >../index.xml ; copy
>plain.xsl .."
>
>This is the error I cannot get past
>
>[Mon Dec 17 00:28:37 2001] [error] Can't locate object method
>"filter_register" via package "Apache" (perhaps you forgot to load
>"Apache"?) at /usr/share/perl5/Apache/RegistryFilter.pm line 13.
Do you have in your httpd.conf file smth like:
"
PerlModule Apache::Filter
PerlModule Apache::RegistryFilter
<Files *.pl>
SetHandler perl-script
PerlHandler RegistryFilter AxKit
PerlSetVar Filter on
AxProvider +Apache::AxKit::Provider::Filter
<<some AxKit config directives here >>
</Files>
" ?
If not, you have to change your configuration in similar way. If your cgi files are
not perl scripts I think you should replace Apache::RegistryFilter with your own
handler, which runs CGI scripts in context of Apache::Filter. How to write Apache
handler is explained somewhere in this forum and how to use Apache::Filter is
explained in perldoc Apache::Filter.
Ciao, OLeG
-----------------------------------------------------------------
Oleg Assovski, Development dept., Bitcom Ltd., Moscow
We make few little bugs,
we compensate with a lot of big ones
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]