From: Clinton Ebadi Date: Sat, 29 Mar 2014 00:35:14 +0000 (-0400) Subject: Add AuthGroupFile X-Git-Tag: release_20140328~3 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/58f4ce3bac23ceef3d84ab97144d1b4b50f27606?hp=5f033db28110f55839bfdb01ef03bf4b7dd22c8b Add AuthGroupFile RequireGroup is kind of useless without it --- diff --git a/lib/apache_auth.dtl b/lib/apache_auth.dtl index 041f4c1..398a048 100644 --- a/lib/apache_auth.dtl +++ b/lib/apache_auth.dtl @@ -16,6 +16,9 @@ extern val authName : no_newlines -> [Location]; extern val authUserFile : your_path -> [Location]; {{See the Apache documentation.}} +extern val authGroupFile : your_path -> [Location]; +{{See the + Apache documentation.}} extern val requireValidUser : [Location]; extern val requireUser : [user] -> [Location]; diff --git a/src/plugins/apache.sml b/src/plugins/apache.sml index 52470c8..f6017dd 100644 --- a/src/plugins/apache.sml +++ b/src/plugins/apache.sml @@ -916,6 +916,13 @@ val () = Env.action_one "authUserFile" write name; write "\n")) +val () = Env.action_one "authGroupFile" + ("file", Env.string) + (fn name => + (write "\tAuthGroupFile "; + write name; + write "\n")) + val () = Env.action_none "requireValidUser" (fn () => write "\tRequire valid-user\n")