If you are looking to change User-Agent based on URL and User-Agent then you may want to look at either of the below two plugins.
https://docs.trafficserver.apache.org/ja/latest/reference/plugins/ts_lua.en.html https://docs.trafficserver.apache.org/ja/latest/reference/plugins/header_rewrite.en.html On Fri, Nov 13, 2015 at 11:59 AM, Gustavo Sanchez <[email protected]> wrote: > it's possible, similar configuration of squid in ats? > > acl google url_regex -i (googlevideo.com|www.youtube.com) > acl mobile browser -i regexp > (iPhone|iPad|Windows.*Phone|BlackBerry|PlayBook|Trident|IEMobile) > request_header_access User-Agent deny google !mobile > request_header_replace User-Agent Mozilla/5.0 (compatible; Googlebot/2.1; + > http://www.google.com/bot.html) > > Regards > > Gustavo > - > > >
