trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Strongman <>
Subject parent.config - Child To Parent Requests
Date Thu, 27 Aug 2015 21:01:28 GMT
When the child sends a request to a parent, the request is constructed
using the absolute URL.


In this scenario the host in the absolute URL is used at the parent
server to determine what to do with the request. The HOST header is
I have tried to change the host value in the URL via a global lua
script and I was unsuccessful. I tried to step in at all the
transaction points, and no luck.
So maybe I am missing something. Any clues as to which transaction
point will allow me to modify the host value in the URL?
Also instead of modifying the GET URL via lua, is there a
configuration option that will force the child-to-parent request to
use a relative path instead?

GET /video.mp4

The reason for all this, is that I want to keep the remap.config the
same on both child and parent.
I also want to be able to modify the HOST header in flight for
child-to-parent communications.

Below are some important config captures from my ATS 5.1.2 an 5.3.1 builds.

Child Server Configuration Files:


CONFIG proxy.config.http.parent_proxy_routing_enable INT 1
CONFIG proxy.config.url_remap.pristine_host_hdr INT 1



parent.config method=get
parent="" round_robin=true

Parent Server Configuration File



View raw message