You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/08/27 17:33:23 UTC

[trafficserver] 01/01: Update the header_rewrite doc for clarification on CLIENT-URL:HOST

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch header_doc
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 2341fcdf6501bbd4ea0d0f86d1e25feeb6e6922b
Author: Bryan Call <bc...@apache.org>
AuthorDate: Mon Aug 27 10:32:57 2018 -0700

    Update the header_rewrite doc for clarification on CLIENT-URL:HOST
---
 doc/admin-guide/plugins/header_rewrite.en.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst b/doc/admin-guide/plugins/header_rewrite.en.rst
index 50fbf1d..48060e6 100644
--- a/doc/admin-guide/plugins/header_rewrite.en.rst
+++ b/doc/admin-guide/plugins/header_rewrite.en.rst
@@ -197,6 +197,11 @@ rule is evaluated, this condition will always operate on the original, unmapped
 URL supplied by the client. The ``<part>`` may be specified according to the
 options documented in `URL Parts`_.
 
+Note that the HOST ``<part>`` of the CLIENT-URL might not be set until the remap
+phase of the transaction.  This happens when there is no host in the incoming URL
+and only set as a host header.  During the remap phase the host header is copied
+to the CLIENT-URL.  Use CLIENT-HEADER:Host if you are going to match the host.
+
 COOKIE
 ~~~~~~
 ::