]> granicus.if.org Git - apache/commitdiff
Fix up an example that was missing highlighting
authorDaniel Gruno <humbedooh@apache.org>
Thu, 10 May 2012 07:09:36 +0000 (07:09 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Thu, 10 May 2012 07:09:36 +0000 (07:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336501 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_balancer.html.en
docs/manual/mod/mod_proxy_balancer.xml

index 4e5c3b96ade05b13e9f8634f333eac6692bb317e..631d2e87a478eeb4d5477d5657ac21da73b37db6 100644 (file)
@@ -269,13 +269,14 @@ ProxyPassReverse /test balancer://mycluster
     <p>Finally you can support cookies and URL encoding at the same time, by
     configuring the name of the cookie and the name of the URL parameter
     separated by a vertical bar (<code>|</code>) as in the following example:</p>
-    <div class="example"><p><code>
-    ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On<br />
-    &lt;Proxy balancer://mycluster&gt;<br />
-    BalancerMember http://192.168.1.50:80 route=node1<br />
-    BalancerMember http://192.168.1.51:80 route=node2<br />
-    &lt;/Proxy&gt;<br />
-    </code></p></div>
+    <pre class="prettyprint lang-config">
+ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
+&lt;Proxy balancer://mycluster&gt;
+    BalancerMember http://192.168.1.50:80 route=node1
+    BalancerMember http://192.168.1.51:80 route=node2
+&lt;/Proxy&gt;
+    </pre>
+
     <p>If the cookie and the request parameter both provide routing information
     for the same request, the information from the request parameter is used.</p>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
index f8f097ec6a228f5a7203e402b7cf09a1717b8a6c..692a110bcbac409baa5fac82fddb0c7f709a1a24 100644 (file)
@@ -248,13 +248,13 @@ ProxyPassReverse /test balancer://mycluster
     <p>Finally you can support cookies and URL encoding at the same time, by
     configuring the name of the cookie and the name of the URL parameter
     separated by a vertical bar (<code>|</code>) as in the following example:</p>
-    <example>
-    ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On<br />
-    &lt;Proxy balancer://mycluster&gt;<br />
-    BalancerMember http://192.168.1.50:80 route=node1<br />
-    BalancerMember http://192.168.1.51:80 route=node2<br />
-    &lt;/Proxy&gt;<br />
-    </example>
+    <highlight language="config">
+ProxyPass /test balancer://mycluster stickysession=JSESSIONID|jsessionid scolonpathdelim=On
+&lt;Proxy balancer://mycluster&gt;
+    BalancerMember http://192.168.1.50:80 route=node1
+    BalancerMember http://192.168.1.51:80 route=node2
+&lt;/Proxy&gt;
+    </highlight>
     <p>If the cookie and the request parameter both provide routing information
     for the same request, the information from the request parameter is used.</p>
 </section>