Problem is in the file /etc/apache2/modules.d/25_mod_xslt.conf The module name is given as mod_xslt in the LoadModule directive <IfDefine XSLT> <IfModule !mod_xslt.c> LoadModule mod_xslt modules/mod_xslt.so </IfModule> </IfDefine> ...but is given as mod-xslt in the following commented examples: ### EXAMPLE 1: transform all .xml files ### # <IfModule mod_xslt.c> # AddOutputFilter mod_xslt .xml # </IfModule> ### EXAMPLE 2: transform all files within a special location (_REPLACE_ME_) ### # <IfModule mod_xslt.c> # <Location _REPLACE_ME_> # SetOutputFilter mod-xslt # </Location> # </IfModule> ### EXAMPLE 3: transform all files whose content type is either ### text/xml or application/xml within a given directory ### # <IfModule mod_xslt.c> # <Directory "/var/www/localhost/htdocs"> # AddOutputFilterByType mod-xslt text/xml # AddOutputFilterByType mod-xslt application/xml # </Directory> # </IfModule> package version: net-www/mod_xslt-2.0.4 Result: Those not eagle-eyed enough nor aware of the necessity of this correlation (such as myself for the first couple of hours) will be b0rked if they use one of these examples.
Apologies; I posted my edited file. The first example initially reads: ### EXAMPLE 1: transform all .xml files ### # <IfModule mod_xslt.c> # AddOutputFilter mod_xslt .xml # </IfModule>
Apologies; I posted my edited file. The first example initially reads: ### EXAMPLE 1: transform all .xml files ### # <IfModule mod_xslt.c> # AddOutputFilter mod-xslt .xml # </IfModule>
Ok, so the problem was that mod-xslt is incorrect as OutputFilter reference, and it should have been mod_xslt. This was just fixed and committed to CVS. Best regards, CHTEKK.