[
https://issues.apache.org/jira/browse/TS-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922247#comment-13922247
]
Leif Hedstrom commented on TS-2609:
-----------------------------------
Still not sure I understand :). The URL conditions have qualifiers, defined in
{code}
enum UrlQualifiers {
URL_QUAL_NONE,
URL_QUAL_HOST,
URL_QUAL_PORT,
URL_QUAL_PATH,
URL_QUAL_QUERY,
URL_QUAL_MATRIX,
URL_QUAL_SCHEME,
URL_QUAL_URL
};
{code}
The intent was that the format would be
{code}
%{FROM-URL:HOST}
%{FROM-URL:SCHEME}
{code}
This parsing is already in place, for these two conditions:
{code}
} else if (c_name == "URL") { // This condition adapts to the hook
c = new ConditionUrl();
} else if (c_name == "CLIENT-URL") {
{code}
> Header rewrite plugin ORIGIN-HOST 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
> Labels: review
> Fix For: 5.0.0
>
>
> Enhance header rewrite plugin to support ORIGIN-HOST condition. Header
> rewrites conditioned on the final origin server will be supported.
--
This message was sent by Atlassian JIRA
(v6.2#6252)