trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: Traffic Server Bug? Forward Proxy host value incorrect
Date Sat, 02 Jul 2011 04:31:02 GMT
This is most likely because the default configs were changed to be to keep pristine Host headers.
That will not work in forward proxy with remap.config rules. Search for pristine in records.config,
and turn it off.

-- Leif 

On Jul 1, 2011, at 6:25 PM, T Savarkar <tsavar8@gmail.com> wrote:

> Hi Expert users,
> 
> I am using ATS in forward proxy mode with remap.config as follows:
> 
> map http://localhost/foo1   http://www.foo1.com
> map http://localhost/foo2   http://www.foo2.com
> 
> When I make a GET request (on same machine running ATS on port 80), as follows:
> 
> curl http://localhost/foo1
> 
> the request to generated by ATS the origin server has an incorrect host: value as below:
>  
> GET / HTTP/1.1
> Host: localhost
> ...
> 
> I would have expected the host: value in the ATS generated request to OS to be www.foo1.com
> Is this an ATS bug?
> 
> Thanks,
> Tri
> 
> 
> 
> 
> 
> 

Mime
View raw message