Repository: trafficserver Updated Branches: refs/heads/master 8427ff98a -> bd7637772
Fix invalid rst syntax Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/bd763777 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/bd763777 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/bd763777 Branch: refs/heads/master Commit: bd76377724fd144de01f819ac20bbf81903c2d63 Parents: 0e319c9 Author: Miles Libbey <[email protected]> Authored: Mon Oct 5 09:13:38 2015 -0700 Committer: Miles Libbey <[email protected]> Committed: Mon Oct 5 09:13:58 2015 -0700 ---------------------------------------------------------------------- doc/reference/plugins/header_rewrite.en.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/bd763777/doc/reference/plugins/header_rewrite.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/plugins/header_rewrite.en.rst b/doc/reference/plugins/header_rewrite.en.rst index 5ac4fc3..27cc269 100644 --- a/doc/reference/plugins/header_rewrite.en.rst +++ b/doc/reference/plugins/header_rewrite.en.rst @@ -151,7 +151,7 @@ Note that for configurations that are global, i.e. setup via ``plugin.config``, the default hook is READ_RESPONSE_HDR_HOOK. CLIENT-URL, URL, URL-FROM, and URL-TO -------------------------- +------------------------------------- URL adapts to the hook it's running in and CLIENT-URL will always give you the client URL. FROM-URL and TO-URL are from the remap rule that matched and can only be used if the plugin is a being run as a remap plugin. An option @@ -212,21 +212,20 @@ Examples .. note:: Notes about header conditionals - In HTTP multple headers can be consolidated into a single comma separated string. + In HTTP multiple headers can be consolidated into a single comma separated string. To avoid complex markup within header-rewrite all header conditionals are evaluated against all values of the header normalized into a single comma separated string. Some examples: - Conditions - :: + Conditions:: + # rule 1 cond %{HEADER:foo} /bar/ # rule 2 cond %{HEADER:foo} =bar - Examples - :: + Examples:: # matches 1 and 2 foo: bar
