From: Rich Bowen m
mod_authz_host
.
The Allow
and
- Deny
directives let
- you allow and deny access based on the host name, or host
- address, of the machine requesting a document. The
- Order
directive goes
- hand-in-hand with these two, and tells Apache in which order to
- apply the filters.
The Require
+ provides a variety of different ways to allow or deny access to
+ resources. In conjunction with the RequireAll
, RequireAny
, and RequireNone
directives, these
+ requirements may be combined in arbitrarily complex ways, to enforce
+ whatever your access policy happens to be.
+ The Allow
,
+ Deny
, and
+ Order
directives,
+ provided by mod_access_compat
, are deprecated and
+ will go away in a future version. You should avoid using them, and
+ avoid outdated tutorials recommending their use.
+
The usage of these directives is:
diff --git a/docs/manual/howto/access.xml b/docs/manual/howto/access.xml index f35e0c2d58..13cbd9074a 100644 --- a/docs/manual/howto/access.xml +++ b/docs/manual/howto/access.xml @@ -57,7 +57,7 @@ is access control using-
The