]> granicus.if.org Git - apache/commitdiff
Adds an example from authz_host. We already mentioned it, but it's a
authorRich Bowen <rbowen@apache.org>
Tue, 13 Mar 2012 10:47:56 +0000 (10:47 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 13 Mar 2012 10:47:56 +0000 (10:47 +0000)
pretty common example, and good to mention here.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1300065 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authz_core.xml

index d7d434ce30ad8d0c6f5d6bc235edcd36605dc7cd..5e17bd090b4af2ebb3ec5adf33aa04954316e875 100644 (file)
@@ -284,7 +284,8 @@ an authorization provider.</description>
       <dd>Access is allowed if <var>expression</var> evaluates to true.</dd>
     </dl>
 
-    <p>Some of the allowed syntaxes provided by <module>mod_authz_user</module>
+    <p>Some of the allowed syntaxes provided by <module>mod_authz_user</module>,
+       <module>mod_authz_host</module>,
        and <module>mod_authz_groupfile</module> are:</p>
 
     <dl>
@@ -298,12 +299,15 @@ an authorization provider.</description>
 
       <dt><code>Require valid-user</code></dt>
       <dd>All valid users can access the resource.</dd>
+
+      <dt><code>Require ip 10 172.20 192.168.2</code></dt>
+      <dd>Clients in the specified IP address ranges can access the
+      resource.</dd>
     </dl>
 
     <p>Other authorization modules that implement require options
     include <module>mod_authnz_ldap</module>,
     <module>mod_authz_dbm</module>, <module>mod_authz_dbd</module>,
-    <module>mod_authz_host</module>,
     <module>mod_authz_owner</module> and <module>mod_ssl</module>.</p>
 
     <p>In most cases, for a complete authentication and authorization