PerlModule AxKit # AxKit globals AxNoCache On AxDebugLevel 10 AxStackTrace On # Language processors my $has_libxslt = 0; eval { require XML::LibXSLT; }; unless ($@) { $AxAddStyleMap = "text/xsl Apache::AxKit::Language::LibXSLT"; $has_libxslt = 1; } unless ( $has_xslt == 1 ) { eval { require XML::Sablot; }; unless ( $@ ) { $AxAddStyleMap = "text/xsl Apache::AxKit::Language::Sablot"; } } AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP; ####################################### # Directives that control the individual configs ####################################### SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/xslt-basic/01.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/xslt-basic/02_include.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/xslt-basic/03_document_1arg.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/xslt-basic/04_document_2args.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/xslt-basic/05_params.xsl ########################### # 'directives' section ########################### SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/directives/style/01_AxAddProcessor.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/directives/style/02_processor_inheritance_larry.xsl SetHandler axkit AxAddProcessor text/xsl /style/directives/style/02_processor_inheritance_moe.xsl SetHandler axkit AxAddProcessor text/xsl /style/directives/style/02_processor_inheritance_curly.xsl SetHandler axkit AxResetProcessors AxAddProcessor application/x-xpathscript /style/xpathscript-basic/01.xps SetHandler axkit AxResetProcessors AxAddProcessor application/x-xpathscript /style/xpathscript-basic/02_document.xps # Test for global styles bug. # only triggered when using a global style AND a media/style combination. # The styles within the AxStyle would leak into the #global array SetHandler axkit # I've had to add this Root processor here so it gets picked up in #global inside configreader. # If it's defined in a Location it doesn't trigger the bug. # If you can find a better way to trigger it, please do. AxAddRootProcessor application/x-xsp NULL {http://www.apache.org/1999/XSP/Core}page AxAddURIProcessor text/xsl /style/component/configreader/get_matching_processors_1.xsl "/component/configreader/get_matching_processors_1.xml" AxAddURIProcessor text/xsl /style/component/configreader/get_matching_processors_2.xsl "/component/configreader/get_matching_processors_2.xml" SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/xslt-basic/identity.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/uri/axkit/01.xsl SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/uri/axkit/subrequest.xsl SetHandler axkit AxResetProcessors AxContentProvider Apache::AxKit::Provider::POST AxAddRootProcessor text/xsl /style/provider/01.xsl root Options +All DirectoryIndex index.xml index.html SetHandler axkit AxHandleDirs On # NB: Some of this was used to find the cause of bug 4499. #SetHandler perl-script #PerlHandler AxKit #AddHandler axkit .xml .xsp AxAddRootProcessor text/xsl \ /style/provider/filelist2html.xsl \ {http://axkit.org/2002/filelist}filelist