# Pre-load a whole bunch of modules so that # they're in shared memory from startup. # This isn't necessary if you don't want to # clutter up your beautiful config files. # You'll only want to consider pre-loading # these two XML modules if you want to pre- # render the XML/XSLT on the server-side using # the RenderXSLT configuration directive. # PerlLoadModule XML::LibXML # PerlLoadModule XML::LibXSLT PerlLoadModule File::Spec PerlLoadModule Fcntl PerlLoadModule URI::Escape PerlLoadModule Apache2::ServerRec PerlLoadModule Apache2::RequestRec PerlLoadModule Apache2::RequestUtil PerlLoadModule Apache2::Const PerlLoadModule Apache2::Log PerlLoadModule Apache2::Module PerlLoadModule Apache2::CmdParms PerlLoadModule Apache2::ServerUtil PerlLoadModule Apache2::Util PerlLoadModule Apache2::URI PerlLoadModule Apache2::Access PerlLoadModule Apache2::Status PerlLoadModule Apache2::SubRequest # Load up Apache2::AutoIndex::XSLT before # we use any configuration directives that # we want it to see and use. PerlLoadModule Apache2::AutoIndex::XSLT # Set a buch of things that change how we # will generate our directory listings. IndexStyleSheet /index.xslt DefaultIcon /icons/__unknown.png IndexIgnore .* *.bak lost+found IndexIgnore index.xslt favicon.ico icons IndexIgnore robots.txt sitemap.gz googlee820414a2b69240d.html # Set this to true if you want to pre- # render the XML/XSLT on the server-side. #RenderXSLT Off # Set the handler for the / root of the website # to use Apache2::AutoIndex::XSLT. SetHandler perl-script PerlResponseHandler Apache2::AutoIndex::XSLT Options +Indexes +FollowSymLinks # The following will render the XML/XSLT on the server-side # for all browsers except those listed, which are known to # support client-side XSLT rendering. SetEnvIf Remote_Addr . RenderXSLT=On BrowserMatch "Firefox/(2.0|1.5|1.0.[234567])" !RenderXSLT BrowserMatch "MSIE [67].0" !RenderXSLT BrowserMatch "Netscape/8" !RenderXSLT BrowserMatch "Opera/9" !RenderXSLT RenderXSLTEnvVar RenderXSLT