GitHub user sc0ttbeardsley opened a pull request:

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

    [TS-3211] Add support for modifying the SCHEME via header_rewrite

    I need a way to rewrite the destination scheme based on a request header. 
It looks like it was partially added before (I see URL_QUAL_SCHEME in 
statement.h already) but the actual implementation was missing.
    
    Here is an example:
    
    cond %{READ_REQUEST_HDR_HOOK} [AND]
    cond %{CLIENT-HEADER:X-Force-Origin-To-Use-HTTPS} /1/
    set-destination PORT 443
    set-destination SCHEME https

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sc0ttbeardsley/trafficserver master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/152.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #152
    
----
commit 5b77907f5d9b8ac82b983dab2f5417bb7579eef9
Author: Scott Beardsley <sc0ttbeards...@gmail.com>
Date:   2014-11-25T16:54:11Z

    [TS-3211] Add support for modifying the SCHEME via header_rewrite

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to