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 <[email protected]> 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 > > > > > >
