httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apachen/htdocs/manual/mod mod_access.html
Date Sun, 14 Dec 1997 01:15:44 GMT
dgaudet     97/12/13 17:15:44

  Modified:    htdocs/manual/mod mod_access.html
  Log:
  Correct two incorrect examples.  Describe what each example does.
  
  PR:		1544
  Submitted by:	Dan Astoorian <djast@cs.toronto.edu>
  Reviewed by:	Dean Gaudet
  
  Revision  Changes    Path
  1.12      +15 -11    apachen/htdocs/manual/mod/mod_access.html
  
  Index: mod_access.html
  ===================================================================
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_access.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_access.html	1997/12/14 01:07:37	1.11
  +++ mod_access.html	1997/12/14 01:15:43	1.12
  @@ -94,11 +94,13 @@
   <blockquote><pre>
   BrowserMatch ^KnockKnock/2.0 let_me_in
   &lt;Directory /docroot&gt;
  -order allow,deny
  -allow from env=let_me_in
  -deny from all
  +    order deny,allow
  +    deny from all
  +    allow from env=let_me_in
   &lt;/Directory&gt;
   </pre></blockquote>
  +In this case browsers with the user-agent string <tt>KnockKnock/2.0</tt> will
  +be allowed access, and all others will be denied.
   <P>
   See also <A HREF="#denyfromenv">deny from env</A>
   and <A HREF="#order">order</A>.
  @@ -167,11 +169,13 @@
   <blockquote><pre>
   BrowserMatch ^BadRobot/0.9 go_away
   &lt;Directory /docroot&gt;
  -order deny,allow
  -deny from env=go_away
  -allow from all
  +    order allow,deny
  +    allow from all
  +    deny from env=go_away
   &lt;/Directory&gt;
   </pre></blockquote>
  +In this case browsers with the user-agent string <tt>BadRobot/0.9</tt> will
  +be denied access, and all others will be allowed.
   
   <P>
   See also <A HREF="#allowfromenv">allow from env</A>
  @@ -206,16 +210,16 @@
   on the deny list are granted access.  (The initial state is irrelevant.)
   </dl>
   <P>
  -Note that in all cases every <code>allow</code> and <code>deny</code>
  -statement is evaluated, there is no &quot;short-circuiting&quot;.
  +<b>Note that in all cases every <code>allow</code> and <code>deny</code>
  +statement is evaluated, there is no &quot;short-circuiting&quot;.</b>
   </P>
   <p>
   Example:
   </P>
   <blockquote><code>
  -order deny,allow<br>
  -deny from all<br>
  -allow from .ncsa.uiuc.edu<br>
  +    order deny,allow<br>
  +    deny from all<br>
  +    allow from .ncsa.uiuc.edu<br>
   </code></blockquote>
   <P>
   Hosts in the ncsa.uiuc.edu domain are allowed access; all other hosts are
  
  
  

Mime
View raw message