Commit c846a0d3 authored by Richard Bowen's avatar Richard Bowen
Browse files

Remove another mention of allow, deny, and order, and add a warning

about their use.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070899 13f79535-47bb-0310-9956-ffa450edef68
parent 0184e45a
Loading
Loading
Loading
Loading
+17 −7
Changes for docs/manual/howto/access.xml: 17 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -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>