# Simple

  <FilesMatch   "\.(otlx|otlml)$">
   PerlModule   AxKit

   SetHandler   perl-script
   PerlHandler  AxKit

   AxAddStyleMap        text/xsl        Apache::AxKit::Language::LibXSLT
   AxAddProcessor       text/xsl        /xsl/otlml2html.xsl
   AxDebugLevel         0
   AxCacheDir           /path/to/yer/cache
  </FilesMatch>

# Slightly more complicated
# Use one module to generate XML and send
# output to AxKit using Apache::Filter

<DirectoryMatch /path/to/some/directory>
  PerlModule            Apache::Filter
  PerlModule            AxKit

  SetHandler            perl-script
  PerlSetVar            Filter On

  AxProvider            Apache::AxKit::Provider::Filter
  AxAddStyleMap         text/xsl        Apache::AxKit::Language::LibXSLT
  AxAddProcessor        text/xsl        /path/to/yer/xsl
  AxCacheDir            /path/to/year/cache

  AxDebugLevel          0
  AxStackTrace          Off
  AxLogDeclines         Off
  PerlHandler           Apache::Yer::Module  AxKit
</DirectoryMatch>

I don't have any experience doing XSP or any of the other whiz-bang stuff
that AxKit does.

Note also that a bunch of those directives (e.g. AxCacheDir) could be
better set globally to save typing but that if you are using mod_php you
should *not* load AxKit globally.

If it is, PHP stops working. I'm not sure anyone really knows why, yet
(?). So, you have to do it on a per thingy basis.

 On Thu, 27 Dec 2001, Antoine Quint wrote:

> Hey there,
>
> I would need a sample Axkit-enabled httpd.conf (or any Apache conf file)
> file to show some people around about how Axkit works. Thanks go to
> anyone supplying one. Happy holidays!
>
> Antoine
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to