]> granicus.if.org Git - apache/commitdiff
doc behavior change in r821333, CacheEnable foo / does not apply to forward
authorEric Covener <covener@apache.org>
Wed, 20 Nov 2013 19:04:19 +0000 (19:04 +0000)
committerEric Covener <covener@apache.org>
Wed, 20 Nov 2013 19:04:19 +0000 (19:04 +0000)
proxy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1543907 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_cache.xml
docs/manual/upgrading.xml

index 7d11ae40971ab6898a305a73da4bfd38744ca8da..cce66e1d2de0b498521e6aad7927ca0247d8759d 100644 (file)
@@ -345,6 +345,8 @@ manager</description>
 <syntax>CacheEnable <var>cache_type</var> [<var>url-string</var>]</syntax>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context>
+<compatibility>A url-string of '/' applied to forward proxy content in 2.2 and
+ earlier.</compatibility>
 </contextlist>
 
 <usage>
@@ -372,9 +374,8 @@ manager</description>
     <directive type="section">LocationMatch</directive> sections are processed
     before globally defined <directive>CacheEnable</directive> directives.</p>
 
-    <p>When acting as a forward proxy server, <var>url-string</var> can
-    also be used to specify remote sites and proxy protocols which
-    caching should be enabled for.</p>
+    <p>When acting as a forward proxy server, <var>url-string</var> must 
+    minimally begin with a protocol for which caching should be enabled.</p>
 
     <highlight language="config">
 # Cache content (normal handler only)
@@ -389,13 +390,13 @@ CacheQuickHandler off
     CacheEnable disk
 &lt;/LocationMatch&gt;
 
-# Cache proxied url's (normal or quick handler)
+# Cache all but forward proxy url's (normal or quick handler)
 CacheEnable  disk  /
 
 # Cache FTP-proxied url's (normal or quick handler)
 CacheEnable  disk  ftp://
 
-# Cache content from www.example.org (normal or quick handler)
+# Cache forward proxy content from www.example.org (normal or quick handler)
 CacheEnable  disk  http://www.example.org/
     </highlight>
 
index 90474297a1a0219d9f8395dcb200901547f569bc..0b61459fb6049df8977da39387e5f8c4240f31a5 100644 (file)
@@ -256,6 +256,12 @@ Allow from example.org
         <code>jsessionid</code>.
         </li>
 
+        <li><module>mod_cache</module>: The second parameter to 
+        <directive module="mod_cache">CacheEnable</directive> only
+        matches forward proxy content if it begins with the correct
+        protocol. In 2.2 and earlier, a parameter of '/' matched all
+        content.</li>
+
         <li><module>mod_ldap</module>: <directive
         module="mod_ldap">LDAPTrustedClientCert</directive> is now
         consistently a per-directory setting only.  If you use this