trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Payne <jp557...@gmail.com>
Subject Re: acl googlevideo.com
Date Fri, 13 Nov 2015 18:11:08 GMT
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 <gsanchez@cablenet.com.ar>
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
> -
>
>
>

Mime
View raw message