httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pep...@locus.apache.org
Subject cvs commit: httpd-docs-1.3/htdocs/manual env.html
Date Sun, 03 Dec 2000 03:37:44 GMT
pepper      00/12/02 19:37:43

  Modified:    htdocs/manual env.html
  Log:
  Reversed spelling 'corrections' just made to referer and referal.
  Added notes that the 'misspellings' are deliberate.
  Thanks to Rich Bowen for the tip.
  
  Revision  Changes    Path
  1.15      +7 -5      httpd-docs-1.3/htdocs/manual/env.html
  
  Index: env.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/env.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- env.html	2000/12/03 03:19:19	1.14
  +++ env.html	2000/12/03 03:37:43	1.15
  @@ -63,7 +63,7 @@
   to be set on a per-request basis based on characteristics of particular
   requests.  For example, a variable could be set only when a specific
   browser (User-Agent) is making a request, or only when a specific
  -Referrer header is found.  Even more flexibility is available through the
  +Referer [sic] header is found.  Even more flexibility is available through the
   mod_rewrite's <code>RewriteRule</code> which uses the
   <code>[E=...]</code> option to set environment variables.</p>
   
  @@ -241,15 +241,17 @@
   called /web/images.</p>
   
   <pre>
  -    SetEnvIf Referrer "^http://www.example.com/" local_referral
  -    # Allow browsers that do not send Referrer info
  -    SetEnvIf Referrer "^$" local_referral
  +    SetEnvIf Referer "^http://www.example.com/" local_referal
  +    # Allow browsers that do not send Referer info
  +    SetEnvIf Referer "^$" local_referal
       &lt;Directory /web/images&gt;
          Order Deny,Allow
          Deny from all
  -       Allow from env=local_referral
  +       Allow from env=local_referal
       &lt;/Directory&gt;
   </pre>
  +
  +<p><em>Note:</em> spelling of 'referer' and 'referal' is intentional.<p>
   
   <p>For more information about this technique, see the ApacheToday
   tutorial &quot;<a
  
  
  

Mime
View raw message