diff options
author | Jim Jagielski <jim@apache.org> | 2014-01-05 16:13:20 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2014-01-05 16:13:20 +0000 |
commit | 38856d02536cc9d5d528cfba4f2e5e43bcf02511 (patch) | |
tree | 9b95ff6a1246392cda2dac078f5b1a5b8b1e9200 /docs/manual/mod | |
parent | 9eba5d4a714a16eaa4ea779e0960780ecbcb8c84 (diff) | |
download | httpd-38856d02536cc9d5d528cfba4f2e5e43bcf02511.tar.gz |
Merge r1554195 from trunk:
mod_authz_user: Support the expression parser within the require directives.
Submitted by: minfrin
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1555548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod')
-rw-r--r-- | docs/manual/mod/mod_authz_user.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_authz_user.xml b/docs/manual/mod/mod_authz_user.xml index fea8c72d9b..86711f4c7d 100644 --- a/docs/manual/mod/mod_authz_user.xml +++ b/docs/manual/mod/mod_authz_user.xml @@ -39,4 +39,39 @@ </summary> <seealso><directive module="mod_authz_core">Require</directive></seealso> +<section id="requiredirectives"><title>The Require Directives</title> + + <p>Apache's <directive module="mod_authz_core">Require</directive> + directives are used during the authorization phase to ensure that + a user is allowed to access a resource. mod_authz_user extends the + authorization types with <code>user</code> and <code>valid-user</code>. + </p> + + <p>Since v2.5.0, <a href="../expr.html">expressions</a> are supported + within the user require directives.</p> + +<section id="requser"><title>Require user</title> + + <p>This directive specifies a list of users that are allowed to gain + access.</p> + + <highlight language="config"> + Require user john paul george ringo + </highlight> + +</section> + +<section id="reqvaliduser"><title>Require valid-user</title> + + <p>When this directive is specified, any successfully authenticated + user will be allowed to gain access.</p> + + <highlight language="config"> + Require valid-user + </highlight> + +</section> + +</section> + </modulesynopsis> |