trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Smolyn <>
Subject Preventing host headers from changing in forward proxy mode
Date Wed, 01 Sep 2010 19:52:19 GMT
we've decided to use traffic server as a cache for a background process that does a bunch
of fetching.  Admittedly we're doing something a bit non standard, but we're having troubles
trying to configure the system such that it doesn't modify host headers on us.

Here's the scenario:
- trafficserver is listening on
- we have a number of local VIPs on our machine that we use as aliases for real backend servers,
so, if we want to fetch, we would go through it's VIP at, say,

What happens with trafficserver in the mix is:
- we open TCP connection to and does a GET with Host:
- trafficserver then requests on a GET /test.jpg, with Host:

What we really need is the original Host header in the proxied request.

We've tried turning on proxy.config.url_remap.pristine_host_hdr (setting it to 1), however
this does nothing.

Any suggestions? Or are we going to have to write a plugin?  And if so, which is a good plugin
sample to start from?



View raw message