Am 13.08.2016 um 02:56 schrieb Gancho Tenev:
Looking at your example from earlier - the 301 “Moved Permanently”
redirect response has a “Location” header which points to the origin
servers directly and the User-Agent when following the redirect just
goes directly to the origin without getting through ATS and that is why
it would not get cached.

You could add a regex_reverse_map in remap.config (more info
here: 
https://docs.trafficserver.apache.org/en/latest/admin-guide/files/remap.config.en.html)
and have the “Location” header changed in the redirect response to the
User-Agent.

but shouldn't ATS be able to rewrite Location-headers which refer to the origin-name automatically since regex_map for hundrets of domains is not very handy?

one reason more that i use "map http://www.rhsoft.net http://www.rhsoft.net"; and on the ATS server dnsmasq where all the names are pointing to the correct origin server....

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to