X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/edd380241e9ba2b750eb9a1f82ffd6feeab6252f..129d3b575680d8d5f73162442b0a3f5cfdfbb595:/lib/apache_options.dtl
diff --git a/lib/apache_options.dtl b/lib/apache_options.dtl
index c678d47..f304f13 100644
--- a/lib/apache_options.dtl
+++ b/lib/apache_options.dtl
@@ -1,12 +1,14 @@
{{Per-directory options for Apache}}
extern type apache_option;
-{{See the
+{{See the
Apache documentation 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.}}
@@ -18,3 +20,32 @@ extern val unset_options : [apache_option] -> [^Vhost];
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 directorySlash : bool -> [^Vhost];
+{{Determine whether Apache should redirect requests for directories
+ lacking a trailing slash to include the trailing slash. Enabled by
+ default, and should only be disabled if you know what you are doing.
+ See the Apache
+ documentation for the security implications of disabling the
+ redirection.}}
+
+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 the
+ Apache documentation.}}
+
+extern val addDefaultCharset : no_spaces -> [^Vhost];
+{{See the
+ Apache documentation.}}
+
+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 encoded slashes. Default is false, true sets NoDecode
, full decoding is insecure and unsupported.}}
\ No newline at end of file