You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ml...@apache.org on 2013/12/19 02:05:21 UTC

[10/12] git commit: [TS-2310] Copy over remap.conf description of map_with_recv_port remap rule type

[TS-2310] Copy over remap.conf description of map_with_recv_port remap rule type


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/29f3a12b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/29f3a12b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/29f3a12b

Branch: refs/heads/master
Commit: 29f3a12b1cffe15c1f89a292e1e9c5f53147847b
Parents: f2c8452
Author: Miles Libbey <ml...@apache.org>
Authored: Mon Dec 16 15:11:10 2013 -0800
Committer: Miles Libbey <ml...@apache.org>
Committed: Mon Dec 16 15:11:10 2013 -0800

----------------------------------------------------------------------
 doc/reference/configuration/remap.config.en.rst | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/29f3a12b/doc/reference/configuration/remap.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/remap.config.en.rst b/doc/reference/configuration/remap.config.en.rst
index dc5a47f..18f725c 100644
--- a/doc/reference/configuration/remap.config.en.rst
+++ b/doc/reference/configuration/remap.config.en.rst
@@ -63,6 +63,12 @@ Traffic Server recognizes three space-delimited fields: ``type``,
     -  ``map`` --translates an incoming request URL to the appropriate
        origin server URL.
 
+    -  ``map_with_recv_port`` --exactly like 'map' except that it uses the port at 
+       which the request was received to perform the mapping instead of the port present 
+       in the request. The regex qualifier can also be used for this type. When present, 
+       'map_with_recv_port' mappings are checked first. If there is a match, then it is 
+       chosen without evaluating the "regular" forward mapping rules.
+
     -  ``map_with_referer`` -- extended version of 'map', which can be used to activate 
        "deep linking protection", where target URLs are only accessible when the Referer 
        header is set to a URL that is allowed to link to the target.
@@ -109,10 +115,11 @@ Precedence
 Remap rules are not processed top-down, but based on an internal
 priority
 
-1. ``map`` and ``reverse_map``
-2. ``regex_map``
-3. ``redirect`` and ``redirect_temporary``
-4. ``regex_redirect`` and ``regex_redirect_temporary``
+1. ``map_with_recv_port``
+#. ``map`` and ``reverse_map``
+#. ``regex_map``
+#. ``redirect`` and ``redirect_temporary``
+#. ``regex_redirect`` and ``regex_redirect_temporary``
 
 
 Match-All