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

Reply via email to