Here's the diff:

diff /tmp/AxKit.pm /usr/lib/perl5/site_perl/5.6.0/i386-linux/AxKit.pm


1c1
< # $Id: AxKit.pm,v 1.125 2001/12/11 13:02:58 matt Exp $ ---
> # $Id: AxKit.pm,v 1.122 2001/11/29 12:31:10 matt Exp $
19d18
< use File::Basename ();
228,229d226
<         chdir(File::Basename::dirname($r->filename));
<
301c298
<             # copy styles because we blat the copy
---
>             # copy styles
306c303
<         process_request($r, $provider, $AxKit::_CurrentStylesheet);
---
>         process_request($r, $provider, $styles);
858c855,856
<     SetHandler AxKit
---
>     SetHandler perl-script
>     PerlHandler AxKit
950,951c948
< This allows you to setup things like sessions, do authentication,
< or other actions that require no XML output, before the actual
---
> This allows you to setup things like sessions, do authentication,
or other actions that require no XML output, before the actual





On Wed, 12 Dec 2001, Matt Sergeant wrote:

> I could have sworn I fixed this already... Can you compare your AxKit.pm
> file with the one in CVS: http://axkit.org/download/cvs/
> ----- Original Message -----
> From: "Chuck Wolber" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 12, 2001 4:57 AM
> Subject: Possible bug?
>
>
> >
> > Greetings,
> >
> >
> > AxKit is "kinda" working on my machine with the sample XML and XSL files
> > on the axkit.org quickstart, however I believe I may have found a problem.
> > I noticed that it runs ok until the second time the document is loaded on
> > a given httpd process. I ran it in single process mode to confirm that it
> > loads once correctly and then everytime thereafter it gives the following
> > errors:
> >
> >
> > [Tue Dec 11 20:49:23 2001] [error] [client 216.39.168.16] [AxKit] [Error]
> > AxKit::load_module failed: Can't locate .pm in @INC (@INC contains:
> > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> > /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 14)
> > line 1.
> >
> > [Tue Dec 11 20:49:23 2001] [error] [client 216.39.168.16] [AxKit] From:
> > /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/AxKit/Exception.pm : 9
> > [Tue Dec 11 20:49:23 2001] [error] ErrorStylesheet: No module mapping
> > found for type ''
> >
> >
> >
> >
> > These are the packages I have installed:
> >
> > > expat-1.95.2.tar.gz
> > > XML-Parser.2.30.tar.gz
> > > Apache-Filter-1.019.tar.gz
> > > HTTP-GHTTP-1.06.tar.gz
> > > XML-SAX-0.03.tar.gz
> > > XML-LibXML-1.31.tar.gz
> > > XML-LibXSLT-1.31.tar.gz
> > > AxKit-1.4_85.tar.gz
> >
> >
> >
> >
> > And here is my AxKit configuration:
> >
> >
> > > Alias /xml /var/www/xml
> > > <Directory /var/www/xml>
> > >         SetHandler perl-script
> > >         PerlModule AxKit
> > >         PerlHandler AxKit
> > >         AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
> > >         AxStackTrace Off
> > >         AxLogDeclines Off
> > > </Directory>
> >
> >
> >
> > Any ideas?
> >
> >
> > -Chuck
> >
> >
> >
> > --
> >    Quantum Linux Laboratories - ACCELERATING Business with Linux
> Technology
> >    * Education |
> >    * Enterprise Integration | http://www.quantumlinux.com
> >    * Support | [EMAIL PROTECTED]
> >
> > "Engineering does not require science. Science helps a lot but people
> > built perfectly good brick walls long before they knew why cement works."
> >             -Alan Cox
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

-- 
   Quantum Linux Laboratories - ACCELERATING Business with Linux Technology
   * Education                  |
   * Enterprise Integration     | http://www.quantumlinux.com
   * Support                    | [EMAIL PROTECTED]

"Engineering does not require science. Science helps a lot but people
built perfectly good brick walls long before they knew why cement works."
            -Alan Cox


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

Reply via email to