Updated ReplicationValve examples in the docs with the new regexp syntax.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 15 Jan 2011 17:26:58 +0000 (17:26 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 15 Jan 2011 17:26:58 +0000 (17:26 +0000)
Added *.jpeg pattern to the list, as inspired by the comment in BZ 31912
https://issues.apache.org/bugzilla/show_bug.cgi?id=31912#c2

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

webapps/docs/cluster-howto.xml
webapps/docs/config/cluster-valve.xml

index 3e8824c..d123cb4 100644 (file)
@@ -269,7 +269,7 @@ should be completed:</p>
           &lt;/Channel&gt;
 
           &lt;Valve className=&quot;org.apache.catalina.ha.tcp.ReplicationValve&quot;
-                 filter=&quot;.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;&quot;/&gt;
+                 filter=&quot;.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt&quot;/&gt;
 
           &lt;Deployer className=&quot;org.apache.catalina.ha.deploy.FarmWarDeployer&quot;
                     tempDir=&quot;/tmp/war-temp/&quot;
@@ -393,7 +393,7 @@ should be completed:</p>
     </p>
     <source>
           &lt;Valve className=&quot;org.apache.catalina.ha.tcp.ReplicationValve&quot;
-                 filter=&quot;.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;&quot;/&gt;
+                 filter=&quot;.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt&quot;/&gt;
     </source>
     <p>
         The cluster uses valves to track requests to web applications, we've mentioned the ReplicationValve and the JvmRouteBinderValve above.
index 28174c1..b6883cb 100644 (file)
@@ -59,7 +59,7 @@
         the cluster doesn't have to probe the session managers for changes. If
         the request matches this filter pattern, the cluster assumes there has
         been no session change. An example filter would look like <code>
-        filter=&quot;.*\.gif|.*\.js|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt;&quot;
+        filter=&quot;.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt&quot;
         </code>. The filter is a regular expression using
         <code>java.util.regex</code>.
       </attribute>