Add AuthGroupFile
authorClinton Ebadi <clinton@unknownlamer.org>
Sat, 29 Mar 2014 00:35:14 +0000 (20:35 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sat, 29 Mar 2014 00:35:14 +0000 (20:35 -0400)
RequireGroup is kind of useless without it

lib/apache_auth.dtl
src/plugins/apache.sml

index 041f4c1..398a048 100644 (file)
@@ -16,6 +16,9 @@ extern val authName : no_newlines -> [Location];
 extern val authUserFile : your_path -> [Location];
 {{See <a href="http://httpd.apache.org/docs/2.2/mod/core.html#authuserfile">the
   Apache documentation</a>.}}
+extern val authGroupFile : your_path -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/core.html#authgroupfile">the
+  Apache documentation</a>.}}
 
 extern val requireValidUser : [Location];
 extern val requireUser : [user] -> [Location];
index 52470c8..f6017dd 100644 (file)
@@ -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")