You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/07/24 21:01:21 UTC
[4/4] git commit: Removed the full-url option from the regex remap
Removed the full-url option from the regex remap
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/aa4acf20
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/aa4acf20
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/aa4acf20
Branch: refs/heads/master
Commit: aa4acf200d8dfc5aa7ec5c61ad697aa6ee1cb342
Parents: 989c545
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Jul 24 13:01:08 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Jul 24 13:01:08 2013 -0600
----------------------------------------------------------------------
doc/plugins/regex_remap.en.rst | 16 +---------------
plugins/regex_remap/README | 20 +-------------------
2 files changed, 2 insertions(+), 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/aa4acf20/doc/plugins/regex_remap.en.rst
----------------------------------------------------------------------
diff --git a/doc/plugins/regex_remap.en.rst b/doc/plugins/regex_remap.en.rst
index c55434b..a98107b 100644
--- a/doc/plugins/regex_remap.en.rst
+++ b/doc/plugins/regex_remap.en.rst
@@ -52,21 +52,11 @@ By default, only the path and query string of the URL are provided for
the regular expressions to match. The following optional parameters can
be used to modify the plugin instance behavior ::
- @pparam=[no-]full-url [default: off]
@pparam=[no-]method [default: off]
@pparam=[no-]query-string [default: on]
@pparam=[no-]matrix-parameters [default: off]
-If you want the full (original) URL, use the parameter
-``@pparam=full-url``. e.g. ::
-
- ... @pparam=maps.reg @pparam=full-url
-
-The string that you will need to match against looks like ::
-
- http://server/path?query=bar
-
-If you also wish to match on the HTTP method used (e.g. "``GET``\ "),
+If you wish to match on the HTTP method used (e.g. "``GET``\ "),
you must use the option ``@pparam=method``. e.g. ::
... @pparam=maps.reg @pparam=method
@@ -76,10 +66,6 @@ like ::
GET/path?query=bar
-The "``method``\ " parameter can also be used in combination with
-"``full-url``\ ", and the string to match against will then look like ::
-
- GET http://server.com/path?query=bar
The methods are always all upper-case, and always followed by one single
space. There is no space between the method and the rest of the URL (or
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/aa4acf20/plugins/regex_remap/README
----------------------------------------------------------------------
diff --git a/plugins/regex_remap/README b/plugins/regex_remap/README
index c965848..f3dad4e 100644
--- a/plugins/regex_remap/README
+++ b/plugins/regex_remap/README
@@ -26,25 +26,13 @@ By default, only the path and query string of the URL is
provided for the regular expressions to match. The following optional
parameters can be used to modify the plugin instance behavior:
- @pparam=[no-]full-url [default: off]
@pparam=[no-]method [default: off]
@pparam=[no-]query-string [default: on]
@pparam=[no-]matrix-parameters [default: off]
-If you want the full (original) URL, use the parameter @pparam=full-url.
-For example:
-
- ... @pparam=maps.reg @pparam=full-url
-
-
-The string that you will need to match against looks like
-
- http://server/path?query=bar
-
-
-If you also wish to match on the HTTP method used (e.g. "GET"), you must
+If you wish to match on the HTTP method used (e.g. "GET"), you must
use the option @pparam=method. For example:
... @pparam=maps.reg @pparam=method
@@ -55,12 +43,6 @@ With this enabled, the string that you will need to match will look like
GET/path?query=bar
-The "method" parameter can also be used in combination with "full-url",
-and the string to match against will then look like
-
- GEThttp://server.com/path?query=bar
-
-
The methods are always all upper-case, and always followed by one single
space. There is no space between the method and the rest of the URL (or
URI path).