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