You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Ryan Durfey (JIRA)" <ji...@apache.org> on 2017/06/13 20:24:00 UTC

[jira] [Commented] (TC-333) Mid Header Rewrite needs to be added to remap.config

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

Ryan Durfey commented on TC-333:
--------------------------------

Has this been resolved?  I know we are currently able to rewrite the headers at the mid tier through mid header rewrite rule.  Or, am I missing something?

> Mid Header Rewrite needs to be added to remap.config
> ----------------------------------------------------
>
>                 Key: TC-333
>                 URL: https://issues.apache.org/jira/browse/TC-333
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>            Reporter: Steve Malenfant
>            Assignee: Jan van Doorn
>            Priority: Minor
>
> Due to a mis-behaving origin, I want to override the Cache-Control (there isn't any in my case) using "Mid Header Rewrite". The delivery service feature does write the proper file to disk, but there is no remap rule set (basically doesn't do anything).
> The following map needs to be added when used:
> map http://originfqdn http://originfqdn @plugin=header_rewrite.so @pparam=hdr_rw_mid_<xml_id>.config
> Note: Missing header rewrite in the profile table is the root cause. Need to make sure they are added.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)