trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Smith <>
Subject reverse_map not happening as expected
Date Sun, 20 Feb 2011 14:07:11 GMT
I have ATS in front of HAProxy clustering Tomcat 7. For legacy reasons the app on tomcat does
a redirect with a hostname hard-coded in it, so I've been trying to write reverse_map directives
to work around it:

--- remap.config ---
reverse_map http://proxy-host
reverse_map http://proxy-host

map http://proxy-host

If I request http://proxy-host in a browser or via curl, I get these headers:

--- headers ---
HTTP/1.1 302 Moved Temporarily
Server: ATS/2.1.5-unstable
Pragma: no-cache
Cache-Control: no-cache;no-store
Location: HTTP://
Content-Type: text/html;charset=utf-8
Content-Length: 0
Date: Sun, 20 Feb 2011 13:40:39 GMT
Set-Cookie: serverid=nn01; path=/
Age: 0
Connection: keep-alive

Shouldn't ATS have rewritten the Location to reflect my reverse_mapping? What did I miss?

Best wishes,
Michael A. Smith
Web & Digital / Academic Technologies Manager
Nazareth College

View raw message