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

Scott Beardsley commented on TS-2955:
-------------------------------------

Thanks Sudheer.

set-redirect 301 https://host.xyz.com/%<cquup>?redirected=1 [QSA,L] 

works for me. I've also submitted a PR for some related documentation updates:

https://github.com/apache/trafficserver/pull/98

Note that in order to correctly add query parameters you must supply the "?" 
separator.

> 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
>              Labels: review
>             Fix For: 5.1.0
>
>         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)

Reply via email to