Reduce toplevel environment decls and allow them in user config
[hcoop/domtool2.git] / lib / apache_options.dtl
index 83f3465..f36e653 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.}}
@@ -25,9 +27,13 @@ extern val forceTypeOff : [Location];
   type.}}
 
 extern val action : no_spaces -> location -> [^Vhost];
-{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_actions.html#action">the
+{{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.0/mod/core.html#adddefaultcharset">the
+{{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.}}