]> git.pld-linux.org Git - packages/apache1-mod_xslt.git/blob - apache1-mod_xslt.conf
- for confdir enabled apache1
[packages/apache1-mod_xslt.git] / apache1-mod_xslt.conf
1 # $Id$
2 LoadModule xslt_module      modules/mod_xslt.so
3
4 <IfModule mod_xslt.c>
5 ########
6 ########  XSLTDebug
7 ########
8 #
9 #   Syntax: XSLTDebug On|Off
10 #   Default: XSLTDebug On
11 #   Context: everythere
12 #
13 #   When switched on (default) redirects all xml and xslt processing
14 #   messages to browser. If switched off all these messages will go to
15 #   error_log and internal error (HTTP/1.0 500 Internal Error) will be
16 #   returned to browser.
17 #
18
19 #XSLTDebug Off
20
21 ########
22 ########  XSLTtmpPath
23 ########
24 #
25 #   Syntax: XSLTtmpPath directory
26 #   Default: none
27 #   Context: server config
28 #
29 #   This directive configures the path where temporary documents will be
30 #   stored. This directive is mandatory if you are going to use Dynamic
31 #   Document or/and Stylesheet generation feature. The directory you point
32 #   should be created before server starts and should have 0700 permitions
33 #   and should be owned by the user with whose permitions the server is
34 #   run. This is necessary because Apache 1.x does not have an API for
35 #   writing filters for dynamic contents. Hopefully Apache 2.0 will change
36 #   this situation.
37 #
38
39 #XSLTtmpPath /tmp
40
41 ########
42 ########  XSLTDynamicDoc
43 ########
44 #
45 #   Syntax: XSLTDynamicDoc On|Off
46 #   Default: XSLTDynamicDoc Off
47 #   Context: everythere
48 #
49 #   When switched on, this directive equires apache to make subrequest for
50 #   document data. This way document could be generated by SSI, CGI-script
51 #   or other dynamic methods.
52 #
53 #   Dynamic XML documents could not be generated by mod_xslt module
54 #   because that would force this module into endless recursion. If you
55 #   will try to configure this way debugging message will be given on
56 #   request to such document.
57 #
58
59 #XSLTDynamicDoc On
60
61 ########
62 ########  XSLTDynamicSS
63 ########
64 #
65 #   Syntax: XSLTDynamicSS On|Off
66 #   Default: XSLTDynamicSS Off
67 #   Context: everythere
68 #
69 #   When switched on, requires apache to make subrequest for Stylesheets.
70 #   This way stylesheets could be generated by SSI, CGI-script or other
71 #   dynamic methods.
72 #
73 #   Dynamic XML documents could be generated by mod_xslt module. But this
74 #   possibility may lead to endless recursion therefore only 5 levels of
75 #   recursion are allowed.
76 #
77
78 #XSLTDynamicSS On
79
80 ########
81 ########  Sample location
82 ########
83 #
84 #   Do NOT add instruction AddHandler mod_xslt .xml! This will lead to
85 #   endless recursion. Mod_xslt is capable to detect it therefore no crash
86 #   of server will happen, but browser will get Error message. And this is
87 #   not that you want [most of the times].
88 #
89
90 #<Location /xslt>
91 #       AddHandler mod_xslt .html
92 #       AddHandler mod_xslt .txt
93 #</Location>
94
95 </IfModule>
96
97 # vim: filetype=apache ts=4 sw=4 et
This page took 0.128165 seconds and 3 git commands to generate.