]> granicus.if.org Git - apache/commitdiff
Remove another mention of allow, deny, and order, and add a warning
authorRich Bowen <rbowen@apache.org>
Tue, 15 Feb 2011 13:55:18 +0000 (13:55 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 15 Feb 2011 13:55:18 +0000 (13:55 +0000)
about their use.

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

docs/manual/howto/access.xml

index e27a7c26f98fab7ede086856f1f773b07aa88bdd..f35e0c2d58a42148b8238a032aa161ef275f8aa5 100644 (file)
@@ -47,13 +47,23 @@ is access control using <module>mod_rewrite</module>.</p>
     <module>mod_authz_host</module>.
     </p>
 
-    <p>The <directive module="mod_authz_host">Allow</directive> and
-    <directive module="mod_authz_host">Deny</directive> directives let
-    you allow and deny access based on the host name, or host
-    address, of the machine requesting a document. The
-    <directive module="mod_authz_host">Order</directive> directive goes
-    hand-in-hand with these two, and tells Apache in which order to
-    apply the filters.</p>
+    <p>The <directive module="mod_authz_core">Require</directive>
+    provides a variety of different ways to allow or deny access to
+    resources. In conjunction with the <directive
+    module="mod_authz_core">RequireAll</directive>, <directive
+    module="mod_authz_core">RequireAny</directive>, and <directive
+    module="mod_authz_core">RequireNone</directive> directives, these
+    requirements may be combined in arbitrarily complex ways, to enforce
+    whatever your access policy happens to be.</p>
+
+    <note type="warning"><p>
+    <p>The <directive module="mod_access_compat">Allow</directive>,
+    <directive module="mod_access_compat">Deny</directive>, and 
+    <directive module="mod_access_compat">Order</directive> directives,
+    provided by <module>mod_access_compat</module>, are deprecated and
+    will go away in a future version. You should avoid using them, and
+    avoid outdated tutorials recommending their use.
+    </p></note>
 
     <p>The usage of these directives is:</p>