[squid-users] Destination domain and regular expression

From: Alberto Cappadonia <alberto.cappadonia_at_polito.it>
Date: Thu, 01 Jul 2010 17:48:02 +0200

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 ?

Thanks in advance
Regards
Alberto

Received on Thu Jul 01 2010 - 15:48:11 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 02 2010 - 12:00:03 MDT