You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by br...@apache.org on 2015/05/05 09:03:14 UTC

[3/3] trafficserver git commit: TS-3582: Update Docs

TS-3582: Update Docs


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

Branch: refs/heads/master
Commit: 825c351d7b484eb4b28cb6e320a085324335b669
Parents: dff41cf
Author: Brian Geffon <br...@apache.org>
Authored: Tue May 5 00:01:03 2015 -0700
Committer: Brian Geffon <br...@apache.org>
Committed: Tue May 5 00:02:17 2015 -0700

----------------------------------------------------------------------
 doc/reference/configuration/remap.config.en.rst | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/825c351d/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 db1bc5f..35e996f 100644
--- a/doc/reference/configuration/remap.config.en.rst
+++ b/doc/reference/configuration/remap.config.en.rst
@@ -392,11 +392,16 @@ Examples
 
     map http://foo.example.com/  http://foo.example.com/ @action=deny @src_ip=1.2.3.4
     map http://foo.example.com/  http://foo.example.com/ @action=allow @src_ip=127.0.0.1
+    
+    map http://foo.example.com/  http://foo.example.com/ @action=allow @src_ip=10.5.2.1 @dst_ip=72.209.23.4
 
     map http://foo.example.com/  http://foo.example.com/ @action=allow @src_ip=127.0.0.1 @method=post @method=get @method=head
 
 Note that these Acl filters will return a 403 response if the resource is restricted.
 
+The difference between ``@src_ip`` and ``@dst_ip`` is that the ``@src_ip`` is the client
+ip and the ``dst_ip`` is the ip address the client is connecting to (the incoming address).
+
 Named Filters
 =============
 
@@ -413,6 +418,7 @@ is helpful for remapping internal requests without allowing access
 to external users. By default both internal and external requests
 are allowed.
 
+
 Examples
 --------