You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ta...@apache.org on 2014/05/23 14:47:50 UTC

svn commit: r1597081 - in /httpd/httpd/branches/2.4.x/docs/manual: caching.xml howto/access.xml howto/index.xml

Author: takashi
Date: Fri May 23 12:47:50 2014
New Revision: 1597081

URL: http://svn.apache.org/r1597081
Log:
Merge r1516872, 1542353 and 1580895 from trunk:
  howto/index.xml:
    CGI is no longer the most common way to provide dynamic content, is it?
  howto/access.xml:
    Suggest the 'require expr' syntax as an alternate way to do something.
  caching.xml:
    elaborate on the early/late vs "Authorization" header (vs. other forms of 
    authorization)

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/caching.xml
    httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml
    httpd/httpd/branches/2.4.x/docs/manual/howto/index.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/caching.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/caching.xml?rev=1597081&r1=1597080&r2=1597081&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/caching.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/caching.xml Fri May 23 12:47:50 2014
@@ -185,6 +185,10 @@
               server processing is bypassed. This mode however also bypasses the
               authentication and authorization phases of server processing, so
               this mode should be chosen with care when this is important.</p>
+  
+              <p> Requests with an "Authorization" header (for example, HTTP Basic
+              Authentication) are neither cacheable nor served from the cache 
+              when <module>mod_cache</module> is running in this phase.</p>
           </dd>
           <dt>Normal handler phase</dt>
           <dd>

Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml?rev=1597081&r1=1597080&r2=1597081&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/howto/access.xml Fri May 23 12:47:50 2014
@@ -138,6 +138,14 @@ Require not host gov
 &lt;/If&gt;
     </highlight>
 
+    <p>Using the <directive module="mod_authz_core">Require</directive>
+    <code>expr</code> syntax, this could also be written as:</p>
+
+
+    <highlight language="config">
+Require expr %{HTTP_USER_AGENT} != 'BadBot'
+    </highlight>
+
     <note><title>Warning:</title>
     <p>Access control by <code>User-Agent</code> is an unreliable technique,
     since the <code>User-Agent</code> header can be set to anything at all,

Modified: httpd/httpd/branches/2.4.x/docs/manual/howto/index.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/howto/index.xml?rev=1597081&r1=1597080&r2=1597081&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/howto/index.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/howto/index.xml Fri May 23 12:47:50 2014
@@ -59,7 +59,7 @@
         <p>The CGI (Common Gateway Interface) defines a way for a web
         server to interact with external content-generating programs,
         which are often referred to as CGI programs or CGI scripts. It
-        is the simplest, and most common, way to put dynamic content on
+        is a simple way to put dynamic content on
         your web site. This document will be an introduction to setting
         up CGI on your Apache web server, and getting started writing
         CGI programs.</p>