I have something simular ... PerlModule AxKit PerlModule Apache::Filter PerlModule Apache::RegistryFilter
<Location /axkit> SetHandler perl-script PerlHandler Apache::RegistryFilter AxKit PerlSetVar Filter on AxProvider Apache::AxKit::Provider::Filter </Location> If I remove "PerlModule Apache::Filter" I will get "[Tue Dec 18 19:00:21 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." If I keep it in I get the cgi to stdout like one would expect. I had to add Apache:: to registry filter for it to find it curiously enough. Other than this... All I am loading is in startup.pl "use Apache::Registry; use Apache::Constants;" Thanks again --- Gabriel Millerd Perl/Java Plumber > -----Original Message----- > From: Oleg Assovski [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 17, 2001 2:43 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: ... with simple CGIs > > > >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 > > >
smime.p7s
Description: application/pkcs7-signature
