You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by su...@apache.org on 2015/01/13 17:45:24 UTC

trafficserver git commit: clarify that global hooks need to be setup to use per-remap rules with header_rewrite

Repository: trafficserver
Updated Branches:
  refs/heads/master 39d8c57b2 -> 832542716


clarify that global hooks need to be setup to use per-remap rules with  header_rewrite


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

Branch: refs/heads/master
Commit: 832542716ae5a291bee2cb68a1e37a572a832351
Parents: 39d8c57
Author: Sudheer Vinukonda <su...@yahoo-inc.com>
Authored: Tue Jan 13 16:44:09 2015 +0000
Committer: Sudheer Vinukonda <su...@yahoo-inc.com>
Committed: Tue Jan 13 16:44:09 2015 +0000

----------------------------------------------------------------------
 doc/reference/plugins/header_rewrite.en.rst | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/83254271/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 ae532c0..553c319 100644
--- a/doc/reference/plugins/header_rewrite.en.rst
+++ b/doc/reference/plugins/header_rewrite.en.rst
@@ -41,6 +41,11 @@ In the second example, hooks which are not to be executed during the remap
 phase (the default) causes a transaction hook to be instantiated and used
 at a later time. This allows you to setup e.g. a rule that gets executed
 during the origin response header parsing, using READ_RESPONSE_HDR_HOOK.
+Note that inorder to setup the plugin with rules that are not to be executed
+during the remap phase (e.g. SEND_REQUEST_HDR_HOOK, READ_RESPONSE_HDR_HOOK etc),
+global hooks must be setup via the below entry in plugin.config ::
+
+  header_rewrite.so
 
 Configuration filenames without an absolute paths are searched for in the
 default configuration directory. This is typically where your main