]> granicus.if.org Git - apache/commitdiff
Fix XML error. Rebuild access howto.
authorRich Bowen <rbowen@apache.org>
Tue, 15 Feb 2011 14:05:08 +0000 (14:05 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 15 Feb 2011 14:05:08 +0000 (14:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070907 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/access.html.en
docs/manual/howto/access.xml

index 738d2cd1dc979a87940ddac63e9fd2e0b512e6c4..2a01f71fbf566e362586ff01c7f10f909f1e4d32 100644 (file)
@@ -48,13 +48,20 @@ is access control using <code class="module"><a href="../mod/mod_rewrite.html">m
     <code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code>.
     </p>
 
-    <p>The <code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code> and
-    <code class="directive"><a href="../mod/mod_authz_host.html#deny">Deny</a></code> directives let
-    you allow and deny access based on the host name, or host
-    address, of the machine requesting a document. The
-    <code class="directive"><a href="../mod/mod_authz_host.html#order">Order</a></code> directive goes
-    hand-in-hand with these two, and tells Apache in which order to
-    apply the filters.</p>
+    <p>The <code class="directive"><a href="../mod/mod_authz_core.html#require">Require</a></code>
+    provides a variety of different ways to allow or deny access to
+    resources. In conjunction with the <code class="directive"><a href="../mod/mod_authz_core.html#requireall">RequireAll</a></code>, <code class="directive"><a href="../mod/mod_authz_core.html#requireany">RequireAny</a></code>, and <code class="directive"><a href="../mod/mod_authz_core.html#requirenone">RequireNone</a></code> directives, these
+    requirements may be combined in arbitrarily complex ways, to enforce
+    whatever your access policy happens to be.</p>
+
+    <div class="warning"><p>
+    The <code class="directive"><a href="../mod/mod_access_compat.html#allow">Allow</a></code>,
+    <code class="directive"><a href="../mod/mod_access_compat.html#deny">Deny</a></code>, and 
+    <code class="directive"><a href="../mod/mod_access_compat.html#order">Order</a></code> directives,
+    provided by <code class="module"><a href="../mod/mod_access_compat.html">mod_access_compat</a></code>, are deprecated and
+    will go away in a future version. You should avoid using them, and
+    avoid outdated tutorials recommending their use.
+    </p></div>
 
     <p>The usage of these directives is:</p>
 
index f35e0c2d58a42148b8238a032aa161ef275f8aa5..13cbd9074a8a522490d2d0233890da590ccdc5ed 100644 (file)
@@ -57,7 +57,7 @@ is access control using <module>mod_rewrite</module>.</p>
     whatever your access policy happens to be.</p>
 
     <note type="warning"><p>
-    <p>The <directive module="mod_access_compat">Allow</directive>,
+    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