add bin/ to repository
[hcoop/domtool2.git] / lib / apache_options.dtl
index 072e3f8..279348b 100644 (file)
@@ -1,12 +1,14 @@
 {{Per-directory options for Apache}}
 
 extern type apache_option;
-{{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#options">the
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/core.html#options">the
   Apache documentation</a> for what the options mean.}}
 
 extern val execCGI : apache_option;
+extern val followSymLinks : apache_option;
 extern val includesNOEXEC : apache_option;
 extern val indexes : apache_option;
+extern val multiViews : apache_option;
 
 extern val options : [apache_option] -> [^Vhost];
 {{Declare exactly the set of options in effect for the current scope.}}
@@ -15,3 +17,26 @@ extern val set_options : [apache_option] -> [^Vhost];
 extern val unset_options : [apache_option] -> [^Vhost];
 {{Specify some options to be set or unset, leaving the rest as they are.}}
 
+extern val directoryIndex : [no_spaces] -> [^Vhost];
+{{Give the list of filenames to try for the default page of a directory, to be
+  considered in the order given.}}
+
+extern val forceType : no_spaces -> [Location];
+extern val forceTypeOff : [Location];
+{{Force all files in the current directory to be served with the given MIME
+  type.}}
+
+extern val action : no_spaces -> location -> [^Vhost];
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/mod_actions.html#action">the
+  Apache documentation</a>.}}
+
+extern val addDefaultCharset : no_spaces -> [^Vhost];
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/core.html#adddefaultcharset">the
+  Apache documentation</a>.}}
+
+extern type file_extension;
+extern val cgiExtension : file_extension -> [^Vhost];
+{{Ask for all files ending in a particular extension to be executed as CGI.}}
+
+extern val allowEncodedSlashes : bool -> [Vhost];
+{{Enable or disable <a href="https://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes">encoded lashes</a>. Default is false, true sets <code>NoDecode</code>, full decoding is insecure and unsupported.}}
\ No newline at end of file