Here's the AxKit relevant part of my httpd.conf from my test and development 
system. It will handle both xml/xslt and xsp pages. For XSP you can just add 
whatever AxAddXSPTaglib directives you need for various tag sets. You could 
also add AxAddStyleMap directives for other language processors, like 
xpathscript if you need that. If you wanted to restrict processing to a 
specific directory, you could wrap the <FILES> directive inside a <DIRECTORY> 
directive (but you CANNOT wrap inside a <LOCATION> directive due to vagaries 
of the way Apache parses its configuration files). If you wanted to process 
ALL files in particular directories you could also substitute <DIRECTORY> in 
place of <FILES>. Just make sure the PerlModule AxKit directive is not inside 
any other directives. Finally all of this applies to AxKit 1.4_85, I 
understand some things have changed since then. 

PerlModule AxKit

<Files "*.(xml|xsp)">
        SetHandler perl-script
        PerlHandler AxKit

        AxKit On
        AxCacheDir /tmp/axkit_cache/

#       AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
        AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
        AxAddStyleMap text/xsp Apache::AxKit::Language::XSP

        AxAddXSPTaglib AxKit::XSP::Session
        AxAddXSPTaglib AxKit::XSP::WebUtils
</Files>

On Thursday 27 December 2001 09:03, you 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