[ 
https://issues.apache.org/jira/browse/TS-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919588#comment-13919588
 ] 

Anil Kumar Myla commented on TS-2609:
-------------------------------------

To add to your comments, in a remap rule, URL:Host is pretty much equal to 
HEADER:Host (let me know if you think otherwise) while the CLIENT-URL:Host can 
be the origin server.

But we need to justify implementing URL/CLIENT-URL conditions because of the 
following replacements that we can use (in the context of a remap rule)
URL:Scheme == SCHEME (unimplemented)
URL:Host == HEADER:Host (?correct?)
URL:Port == PORT (unimplemented)
URL:Path == PATH
URL:Query== QUERY

CLIENT-URL:Scheme == SCHEME (unimplemented)
CLIENT-URL:Host == ? (unimplemented) --> TOHOST (patch)
CLIENT-URL:Port == PORT (unimplemented)
CLIENT-URL:Path == URL:Path == PATH
CLIENT-URL:Query== URL:Query == QUERY

We need to implement SCHEME or PORT (add CLIENT-SCHEME / CLIENT-PORT for remap 
rules) for this to be complete.

> Header rewrite plugin TOHOST condition
> --------------------------------------
>
>                 Key: TS-2609
>                 URL: https://issues.apache.org/jira/browse/TS-2609
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Plugins
>            Reporter: Anil Kumar Myla
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 5.0.0
>
>
> Enhance header rewrite plugin to support TOHOST condition. Header rewrites 
> conditioned on the final origin server will be supported.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to