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

ASF GitHub Bot commented on TS-2834:
------------------------------------

GitHub user manjeshnilange opened a pull request:

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

    patch for TS-2834

    This patch adds a condition "INTERNAL-TRANSACTION' and makes the client IP 
'%<chi>' available for COND arguments. Usage examples
    
    cond %{READ_REQUEST_HDR_HOOK} [AND]
    cond %{INTERNAL-TRANSACTION} [NOT]
    rm-header client_ip
    add-header client_ip %<chi>
    
    cond %{READ_REQUEST_HDR_HOOK} [AND]
    cond %{%<chi>}  =127.0.0.1 [NOT]
    rm-header client_ip
    add-header client_ip %<chi>

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

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

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

    https://github.com/apache/trafficserver/pull/91.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 #91
    
----
commit 7b98b583afdd812cf7884fed9ec0d8c17b780fe1
Author: Manjesh Nilange <[email protected]>
Date:   2014-05-22T22:01:55Z

    patch for TS-2834

----


> header_rewrite: internal transaction and client IP conditions
> -------------------------------------------------------------
>
>                 Key: TS-2834
>                 URL: https://issues.apache.org/jira/browse/TS-2834
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Manjesh Nilange
>
> It would be nice to use the above two conditions in the rules.



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

Reply via email to