More Apache directory option stuff
[hcoop/domtool2.git] / lib / apache_options.dtl
1 {{Per-directory options for Apache}}
2
3 extern type apache_option;
4 {{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#options">the
5 Apache documentation</a> for what the options mean.}}
6
7 extern val execCGI : apache_option;
8 extern val includesNOEXEC : apache_option;
9 extern val indexes : apache_option;
10
11 extern val options : [apache_option] -> [^Vhost];
12 {{Declare exactly the set of options in effect for the current scope.}}
13
14 extern val set_options : [apache_option] -> [^Vhost];
15 extern val unset_options : [apache_option] -> [^Vhost];
16 {{Specify some options to be set or unset, leaving the rest as they are.}}
17
18 extern val directoryIndex : [no_spaces] -> [^Vhost];
19 {{Give the list of filenames to try for the default page of a directory, to be
20 considered in the order given.}}
21
22 extern val forceType : no_spaces -> [Location];
23 extern val forceTypeOff : [Location];
24 {{Force all files in the current directory to be served with the given MIME
25 type.}}
26
27 extern val action : no_spaces -> location -> [^Vhost];
28 {{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_actions.html#action">the
29 Apache documentation</a>.}}
30
31 extern val addDefaultCharset : no_spaces -> [^Vhost];
32 {{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#adddefaultcharset">the
33 Apache documentation</a>.}}