Err....

storm# find /usr/local/lib -name Passthru.pm
/usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/AxKit/Plugins/Passthru.pm

and ->

[Wed Jun  5 14:47:06 2002] [error] AxKit::load_module failed: Can't locate
Apache/AxKit/Plugin/Passthru.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/mach
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .
/usr/local/apache/ /usr/local/apache/lib/perl) at (eval 66) line

So I change my config to this (with Plugin_s_, not Plugin)

PerlModule AxKit
AddHandler axkit .xml
PerlHandler AxKit
AxAddPlugin Apache::AxKit::Plugins::Passthru
AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript


And when I request the .xml document I get the raw XML, not HTML.

Thanks,
Scott

On Wed, 5 Jun 2002, Matt Sergeant wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 05 June 2002 3:19 pm, Scott Smith wrote:
> > Ah, pine wrapped the last line.  The AxAddStyleMap line should be one, not
> > two :)
> >
> > Scott
> >
> > On Wed, 5 Jun 2002, Scott Smith wrote:
> > > Hey, I've been using AxKit for a few days and it was working well.  I set
> > > up passthru and it was working, and then it randomly stopped.  Now when
> > > I request with `?passthru=1' I get the same HTML document.  Is there
> > > something wrong with my Apache config?
> > >
> > > this is it ->
> > >
> > > PerlModule AxKit
> > > AddHandler axkit .xml
> > > PerlHandler Apache::AxKit::Plugins::Passthru AxKit
>
> If you use AddHandler/SetHandler axkit, you *must* use AxAddPlugin for
> Passthru:
>
> AddHandler axkit .xml
> AxAddPlugin Apache::AxKit::Plugin::Passthru
>
> (note: it's Plugin:: not Plugins::)
>
> > > AxAddStyleMap application/x-xpathscript
> > > Apache::AxKit::Language::XPathScript
> > >
> > >
> > > Thanks,
> > > Scott
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> - --
> <:->get a SMart net</:->
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE8/oRSVBc71ct6OywRAqhTAJ4lY3Bdfk0GtKad/ILF1c+NuwY6mQCgwGKQ
> ooeupZfy0OIATiIHtnyoP3o=
> =z22m
> -----END PGP SIGNATURE-----
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to