X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache1-mod_xslt.conf;fp=apache1-mod_xslt.conf;h=4d3963838074d051acc958d8b104f7078f7d9cf5;hb=f8a4ecab76b911773e2130596d9ded9fbc19b762;hp=b117cba86669c4c454e3d2edd7b7fbd34f9a6c1e;hpb=e5c5436f46a352a7fc12a30b7aa50771a8d39a5c;p=packages%2Fapache1-mod_xslt.git diff --git a/apache1-mod_xslt.conf b/apache1-mod_xslt.conf index b117cba..4d39638 100644 --- a/apache1-mod_xslt.conf +++ b/apache1-mod_xslt.conf @@ -1,10 +1,95 @@ +# Sample configuration for apache-mod_xslt + LoadFile lib/libsablot.so -LoadFile lib/libxmlparse.so -LoadFile lib/libxmltok.so LoadModule mod_xslt_module lib/apache/mod_xslt.so - - AddHandler mod_xslt .html - AddHandler mod_xslt .txt - +######## +######## XSLTDebug +######## +# +# Syntax: XSLTDebug On|Off +# Default: XSLTDebug On +# Context: everythere +# +# When switched on (default) redirects all xml and xslt processing +# messages to browser. If switched off all these messages will go to +# error_log and internal error (HTTP/1.0 500 Internal Error) will be +# returned to browser. +# + +#XSLTDebug Off + +######## +######## XSLTtmpPath +######## +# +# Syntax: XSLTtmpPath directory +# Default: none +# Context: server config +# +# This directive configures the path where temporary documents will be +# stored. This directive is mandatory if you are going to use Dynamic +# Document or/and Stylesheet generation feature. The directory you point +# should be created before server starts and should have 0700 permitions +# and should be owned by the user with whose permitions the server is +# run. This is necessary because Apache 1.x does not have an API for +# writing filters for dynamic contents. Hopefully Apache 2.0 will change +# this situation. +# + +#XSLTtmpPath /tmp + +######## +######## XSLTDynamicDoc +######## +# +# Syntax: XSLTDynamicDoc On|Off +# Default: XSLTDynamicDoc Off +# Context: everythere +# +# When switched on, this directive equires apache to make subrequest for +# document data. This way document could be generated by SSI, CGI-script +# or other dynamic methods. +# +# Dynamic XML documents could not be generated by mod_xslt module +# because that would force this module into endless recursion. If you +# will try to configure this way debugging message will be given on +# request to such document. +# + +#XSLTDynamicDoc On + +######## +######## XSLTDynamicSS +######## +# +# Syntax: XSLTDynamicSS On|Off +# Default: XSLTDynamicSS Off +# Context: everythere +# +# When switched on, requires apache to make subrequest for Stylesheets. +# This way stylesheets could be generated by SSI, CGI-script or other +# dynamic methods. +# +# Dynamic XML documents could be generated by mod_xslt module. But this +# possibility may lead to endless recursion therefore only 5 levels of +# recursion are allowed. +# + +#XSLTDynamicSS On + +######## +######## Sample location +######## +# +# Do NOT add instruction AddHandler mod_xslt .xml! This will lead to +# endless recursion. Mod_xslt is capable to detect it therefore no crash +# of server will happen, but browser will get Error message. And this is +# not that you want [most of the times]. +# + +# +# AddHandler mod_xslt .html +# AddHandler mod_xslt .txt +#