On 05/31/2011 09:02 AM, Belkacem wrote:
Hi everyone,
Thanks for the new release, I'm testing it.
I have a little question:
lets assume that my remap.config file contains this line

regex_map http://(.*) http://$1.test.com

when traffic server sends the request to the origin server, what's the content 
of the host field in the sent request?

Using the default configs,it would be the Host: $1 (the incoming Host: header). You can change that with

    CONFIG proxy.config.url_remap.pristine_host_hdr INT 0


Then the Host: header becomes $1.test.com.


-- Leif
  • a question Belkacem
    • Re: a question Leif Hedstrom

Reply via email to