trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r919222 - /incubator/trafficserver/site/trunk/docs/v2/admin/files.htm
Date Thu, 04 Mar 2010 22:41:55 GMT
Author: mlibbey
Date: Thu Mar  4 22:41:55 2010
New Revision: 919222

Add Plugin Chaining description


Modified: incubator/trafficserver/site/trunk/docs/v2/admin/files.htm
--- incubator/trafficserver/site/trunk/docs/v2/admin/files.htm (original)
+++ incubator/trafficserver/site/trunk/docs/v2/admin/files.htm Thu Mar  4 22:41:55 2010
@@ -2690,7 +2690,7 @@
-    <a name="regex_support">Regular Expression Support</a><a class="moz-txt-link-freetext"
+    <a name="regex_support">Regular Expression Support</a></h4>
 <p>Regular expressions can be specified in remapping rules, with the limitations below:</p><ul><li>Only
the <code>host</code> field can contain regexes; the <code>scheme</code>,
<code>port</code>, and other fields cannot.  For path manipulation via regexes,
use the <code>regex_remap</code> plugin. </li>
        <li>The number of capturing subpatterns is limited to 9. This means that <code>$0</code>
thru <code>$9</code> can be used as subtraction placeholders (<code>$0</code>
will be the entire input string).</li>
        <li>The number of substitutions in the expansion string is limited to 10.</li>
@@ -2699,8 +2699,15 @@
   <p><code>regex_map http://x ([0-9]+) http://real-x$</code><br
   <code>regex_redirect http://old.(.*) http://new.$</code></p>
-  <a name="splitdns.config">splitdns.config</a></h2>
+<h4><a name="plugin_chaining">Plugin Chaining</a></h4>
+<p>Plugins can be configured to be evaluated in a specific order, passing the results
from one in to the next (unless a plugin returns 0, then the "chain" is broken).</p>
+<p><code>map http://url/path http://url/path @plugin=/etc/traffic_server/config/plugins/
@pparam=1 @pparam=2 @plugin=/etc/traffic_server/config/plugins/ @pparam=3</code><br>
+will pass "1" and "2" to and "3" to</p>
+This will pass "1" and "2" to and "3" to 
+<h2><a name="splitdns.config">splitdns.config</a></h2>
      <p>The <code>splitdns.config</code> file enables you to specify the
DNS server that Traffic Server should use for resolving hosts under specific conditions. 
For more information, refer to <a href="secure.htm">Configuring DNS Server Selection
(Split DNS)</a>. </p>
   <p>To specify a DNS server, you must supply the following information in each active
line within the file: </p>

View raw message