[
https://issues.apache.org/jira/browse/TS-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072488#comment-14072488
]
Sudheer Vinukonda edited comment on TS-2955 at 7/23/14 10:45 PM:
-----------------------------------------------------------------
[~sc0ttbeardsley] - PATH and QUERY_STRING are already supported for
set-redirect using %{PATH} and [QSA].
Below is an example that works:
set-redirect 301 https://host.xyz.com/%{PATH} [QSA]
I've added the variable expansion using %<> syntax to support other variables
(e.g %<cquup>, %<chi> etc).
was (Author: sudheerv):
[~sc0ttbeardsley] - PATH and QUERY_STRING are already supported using %{PATH}
and [QSA].
Below is an example that works:
set-redirect 301 https://host.xyz.com/%{PATH} [QSA]
I've added the variable expansion using %<> syntax to support other variables
(e.g %<cquup>, %<chi> etc).
> support variable expansion in set-redirect operator for header_rewrite
> ----------------------------------------------------------------------
>
> Key: TS-2955
> URL: https://issues.apache.org/jira/browse/TS-2955
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: Sudheer Vinukonda
> Attachments: TS-2955.diff
>
>
> support variable expansion in set-redirect operator for header_rewrite to be
> able to dynamically substitute variables in the Location header (currently,
> only %{PATH} is supported).
--
This message was sent by Atlassian JIRA
(v6.2#6252)