Apache auth
[hcoop/domtool2.git] / lib / apache_auth.dtl
diff --git a/lib/apache_auth.dtl b/lib/apache_auth.dtl
new file mode 100644 (file)
index 0000000..42eb389
--- /dev/null
@@ -0,0 +1,42 @@
+{{Controlling who can access sections of a virtual host}}
+
+extern type authType;
+extern val basic : authType;
+extern val digest : authType;
+extern val authType : authType -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#authtype">the
+  Apache documentation</a>.}}
+
+extern val authName : no_newlines -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#authname">the
+  Apache documentation</a>.}}
+
+extern val authUserFile : your_path -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#authuserfile">the
+  Apache documentation</a>.}}
+
+extern val requireValidUser : [Location];
+extern val requireUser : [user] -> [Location];
+extern val requireGroup : [group] -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#require">the
+  Apache documentation</a>.}}
+
+extern val orderAllowDeny : [Location];
+extern val orderDenyAllow : [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_access.html#order">the
+  Apache documentation</a>.}}
+
+extern val allowFromAll : [Location];
+extern val allowFrom : [no_spaces] -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_access.html#allow">the
+  Apache documentation</a>.}}
+
+extern val denyFromAll : [Location];
+extern val denyFrom : [no_spaces] -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_access.html#deny">the
+  Apache documentation</a>.}}
+
+extern val satisfyAll : [Location];
+extern val satisfyAny : [Location];
+{{See <a href="http://httpd.apache.org/docs/2.0/mod/core.html#satisfy">the
+  Apache documentation</a>.}}