Alberto Cappadonia wrote:
Hi all,
If I want to deny the access, for example, to google and I want that every
google web site (in any language) cannot be accessed, can I write an acl
like the following?
------
acl googleDomains dstdom_regex -i .*\.google\..*
http_access deny googleDomains
------
or i have to use other acl like url_regex ?
For that use yes dstdom_regex is appropriate.
The .* at the start and end of the pattern can be removed.
Giving you:
acl googleDomains dstdom_regex -i \.google\.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.4