[squid-users] user agent

Leonardo Rodrigues leolistas at solutti.com.br
Fri Sep 18 12:22:37 UTC 2015


     i personally hate using !acl ... it's the easiest way, in my 
opinion, of getting in trouble and getting things to NOT work the way 
you want to.

     i always prefeer to replace by other 4-5 'normal' rules than using !acl


Em 18/09/15 06:32, joe escreveu:
> hi i  need to have 3 useragent replace and its not working
> example
> acl brs browser -i Mozilla.*Window.*
> acl phone-brs browser -i Mozilla.*(Android|iPhone|iPad).*
>
> request_header_access User-Agent deny brs !phone-brs
> request_header_replace User-Agent Mozilla/5.0 (Windows NT 5.1; rv:40.0)
> Gecko/20100101
>
> request_header_access User-Agent deny phone-brs !brs
> request_header_replace User-Agent Mozilla/5.0 (Android; iPhone; Mobile;)
> Gecko/18.0
>

-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes at solutti.com.br
	My SPAMTRAP, do not email it





More information about the squid-users mailing list