PerlModule AxKit # AxKit globals AxNoCache On AxDebugLevel 10 AxStackTrace On AxIgnoreStylePI On # Language processors my $has_libxslt = 0; eval { require XML::LibXSLT; }; unless ($@) { $AxAddStyleMap = "text/xsl Apache::AxKit::Pipeline::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::Pipeline::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 AxNoCache off AxGzipOutput On AxCacheDir .cache PerlSetVar AxCacheDebugHeaders 1 AxResetProcessors AxAddProcessor text/xsl /style/pipeline/cache/01.xsl SetHandler axkit AxResetProcessors AxAddStyleMap application/sax Apache::AxKit::Pipeline::SAX AxAddProcessor application/sax 'AxKitSaxTest' SetHandler axkit AxResetProcessors AxAddStyleMap application/sax Apache::AxKit::Pipeline::SAX AxAddProcessor application/sax 'AxKitSaxTest' AxAddProcessor application/sax 'AxKitSaxTest' SetHandler axkit AxResetProcessors AxAddStyleMap application/sax Apache::AxKit::Pipeline::SAX AxAddProcessor text/xsl /style/pipeline/sax/03.xsl AxAddProcessor application/sax 'AxKitSaxTest' AxAddProcessor application/sax 'AxKitSaxTest' AxAddProcessor text/xsl /style/pipeline/sax/03.xsl SetHandler axkit AxAddStyleMap application/xsp Apache::AxKit::Pipeline::XSP AxAddProcessor application/xsp NULL AxResetProcessors SetHandler axkit AxAddStyleMap application/xsp Apache::AxKit::Pipeline::XSP AxAddProcessor application/xsp NULL AxResetProcessors SetHandler axkit AxResetProcessors AxAddProcessor text/xsl /style/pipeline/gzip/01.xsl AxGzipOutput On Sethandler axkit AxResetProcessors AxAddProcessor text/xsl /style/pipeline/content_type/01.xsl Sethandler axkit AxResetProcessors AxTraceIntermediate ./.trace AxAddProcessor text/xsl /style/pipeline/trace/01.xsl Sethandler axkit AxResetProcessors AxContentProvider Apache::AxKit::Provider::POST AxAddRootProcessor text/xsl /style/provider/01.xsl root SetHandler axkit AxResetProcessors AxAddStyleMap application/xsp Apache::AxKit::Pipeline::XSP AxAddProcessor application/xsp NULL ErrorDocument 500 /error/500 SetHandler axkit AxResetProcessors AxContentProvider Apache::AxKit::Provider::Error AxAddProcessor text/xsl /style/error/500.xsl