From 58f4ce3bac23ceef3d84ab97144d1b4b50f27606 Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Fri, 28 Mar 2014 20:35:14 -0400 Subject: [PATCH] Add AuthGroupFile RequireGroup is kind of useless without it --- lib/apache_auth.dtl | 3 +++ src/plugins/apache.sml | 7 +++++++ 2 files changed, 10 insertions(+) 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") -- 2.20.1