Repository: trafficserver Updated Branches: refs/heads/master 91e121ac7 -> 156c8821e
Correct documentation for header_rewrite plugin Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/156c8821 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/156c8821 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/156c8821 Branch: refs/heads/master Commit: 156c8821eccb19375fbeb7d92a308f57938afc16 Parents: 91e121a Author: Kit Chan <[email protected]> Authored: Mon Nov 23 00:08:49 2015 -0800 Committer: Kit Chan <[email protected]> Committed: Mon Nov 23 00:08:49 2015 -0800 ---------------------------------------------------------------------- doc/admin-guide/plugins/header_rewrite.en.rst | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/156c8821/doc/admin-guide/plugins/header_rewrite.en.rst ---------------------------------------------------------------------- diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst b/doc/admin-guide/plugins/header_rewrite.en.rst index 636ad13..427b442 100644 --- a/doc/admin-guide/plugins/header_rewrite.en.rst +++ b/doc/admin-guide/plugins/header_rewrite.en.rst @@ -117,18 +117,17 @@ only be evaluated if the condition(s) are met:: cond %{HEADER:header-name} operand [condition_flags] cond %{COOKIE:cookie-name} operand [condition_flags] cond %{CLIENT-HEADER:header-name} operand [condition_flags] - cond %{PROTOCOL} operand [condition_flags] cond %{PATH} operand [condition_flags] cond %{QUERY} operand [condition_flags] cond %{INTERNAL-TRANSACTION} [condition_flags] - cond %{CLIENT-IP} [condition_flags] - cond %{INCOMING-PORT} [condition_flags] - cond %{METHOD} [condition_flags] - cond %{CLIENT-URL:option-name} [condition_flags] - cond %{URL:option-name} [condition_flags] - cond %{FROM-URL:option-name} [condition_flags] - cond %{TO-URL:option-name} [condition_flags] - cond %{TXN-COUNT} [condition_flags] + cond %{CLIENT-IP} operand [condition_flags] + cond %{INCOMING-PORT} operand [condition_flags] + cond %{METHOD} operand [condition_flags] + cond %{CLIENT-URL:option-name} operand [condition_flags] + cond %{URL:option-name} operand [condition_flags] + cond %{FROM-URL:option-name} operand [condition_flags] + cond %{TO-URL:option-name} operand [condition_flags] + cond %{TXN-COUNT} operand [condition_flags] The difference between HEADER and CLIENT-HEADER is that HEADER adapts to the hook it's running in, whereas CLIENT-HEADER always applies to the client
