Received: (from majordom@localhost) by hyperreal.com (8.8.4/8.8.4) id EAA27288; Thu, 24 Apr 1997 04:25:14 -0700 (PDT) Received: (from dgaudet@localhost) by hyperreal.com (8.8.4/8.8.4) id EAA27282 for apache-cvs; Thu, 24 Apr 1997 04:25:12 -0700 (PDT) Date: Thu, 24 Apr 1997 04:25:12 -0700 (PDT) From: Dean Gaudet Message-Id: <199704241125.EAA27282@hyperreal.com> To: apache-cvs@hyperreal.com Subject: cvs commit: apache/htdocs/manual/mod mod_access.html Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org dgaudet 97/04/24 04:25:12 Modified: htdocs/manual/mod mod_access.html Log: Document from env=, and the initial states for the deny,allow and allow,deny orders. Revision Changes Path 1.4 +54 -5 apache/htdocs/manual/mod/mod_access.html Index: mod_access.html =================================================================== RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_access.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C3 -r1.3 -r1.4 *** mod_access.html 1997/02/03 01:18:17 1.3 --- mod_access.html 1997/04/24 11:25:11 1.4 *************** *** 16,22 **** --- 16,24 ----
  • allow +
  • allow from env=
  • deny +
  • deny from env=
  • order

  • *************** *** 49,55 **** Note that this compares whole components; bar.edu would not match foobar.edu.

    ! See also deny and order.


    deny

    --- 51,80 ---- Note that this compares whole components; bar.edu would not match foobar.edu.

    ! 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,84 **** Note that this compares whole components; bar.edu would not match foobar.edu.

    ! See also allow and order.


    order

    --- 103,131 ---- Note that this compares whole components; bar.edu would not match foobar.edu.

    ! 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,105 **** of
    deny,allow !
    the deny directives are evaluated before the allow directives.
    allow,deny !
    the allow directives are evaluated before the deny directives.
    mutual-failure
    Only those hosts which appear on the allow list and do not appear ! on the deny list are granted access.
    Example: --- 141,154 ---- of
    deny,allow !
    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 ! 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. (The initial state is irrelevant.)
    Example: