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