On 7/24/12 2:15 PM, Todd Harpersberger wrote:
Hi,
I'm trying to forward packets to multiple websites on backend servers
where the hosts are using aliases or hostheaders.
Example: (both website1.myname.com and website2.myname.com are hosted on
server1.myname.com)
map https://website1.myname.com/ http://server1.myname.com/
reverse_map http:// server1.myname.com/ https://website1.myname.com/
map https://website2.myname.com/ http://server1.myname.com/
reverse_map http:// server1.myname.com/ https://website2.myname.com/
Yeah, the reverse maps are duplicated (you can't have two reverse maps for
the same URL, how would it know which one to pick?).
In this configuration, you simply can't use the "reverse_map" feature, since
it has no way of knowing what your intention is. This just means that the
Location: header in redirects would not be modified by ATS (so, it's up to
your origin to do so).
-- Leif