From: dgaudet Date: Thu, 24 Apr 1997 11:25:11 +0000 (+0000) Subject: Document from env=, and the initial states for the deny,allow and allow,deny X-Git-Tag: APACHE_1_2b9~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b57fa8bbd00cc4199e5cb9dbc796ff64fd0ea63;p=apache Document from env=, and the initial states for the deny,allow and allow,deny orders. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77998 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_access.html b/docs/manual/mod/mod_access.html index 3f41cff6c9..8783fdc7f2 100644 --- a/docs/manual/mod/mod_access.html +++ b/docs/manual/mod/mod_access.html @@ -16,7 +16,9 @@ hostname or IP address.
  • allow +
  • allow from env=
  • deny +
  • deny from env=
  • order

  • @@ -49,7 +51,30 @@ All hosts in the specified domain are allowed access.

    Note that this compares whole components; bar.edu would not match foobar.edu.

    -See also deny and order.


    +See also deny, order, and +BrowserMatch.

    + +Syntax: allow from env=variablename
    +Context: directory, .htaccess
    +Override: Limit
    +Status: Base
    +Module: mod_access
    +Compatibility: Apache 1.2 and above

    + +The allow from env directive controls access to a directory by the +existance (or non-existance) of an environment variable. + +Example:

    +BrowserMatch ^KnockKnock/2.0 let_me_in
    +<Directory /docroot>
    +order allow,deny
    +allow from env=let_me_in
    +deny from all
    +</Directory>
    +
    + +See also deny from env +and order.


    deny

    @@ -78,7 +103,29 @@ All hosts in the specified network are denied access.

    Note that this compares whole components; bar.edu would not match foobar.edu.

    -See also allow and order.


    +See also allow and order.

    + +Syntax: deny from env=variablename
    +Context: directory, .htaccess
    +Override: Limit
    +Status: Base
    +Module: mod_access
    +Compatibility: Apache 1.2 and above

    + +The deny from env directive controls access to a directory by the +existance (or non-existance) of an environment variable. + +Example:

    +BrowserMatch ^BadRobot/0.9 go_away
    +<Directory /docroot>
    +order deny,allow
    +deny from env=go_away
    +allow from all
    +</Directory>
    +
    + +See also allow from env +and order.


    order

    @@ -94,12 +141,14 @@ The order directive controls the order in which allow and of
    deny,allow -
    the deny directives are evaluated before the allow directives. +
    the deny directives are evaluated before the allow directives. (The +initial state is OK.)
    allow,deny -
    the allow directives are evaluated before the deny directives. +
    the allow directives are evaluated before the deny directives. (The +initial state is FORBIDDEN.)
    mutual-failure
    Only those hosts which appear on the allow list and do not appear -on the deny list are granted access. +on the deny list are granted access. (The initial state is irrelevant.)
    Example: