[squid-users] ACL

From: Carlos Manuel Trepeu Pupo <charlie.mtp_at_gmail.com>
Date: Fri, 17 Feb 2012 14:12:20 -0500

Hi !

I want to block:
http://*.google.com.cu

but allow:
http://www.google.com.cu/custom*

I mean deny all the subdomain of google.com.cu except all the URL that
contain the line below

I have Ubuntu with Squid 3.0 STABLE1 with this conf:

acl deny_google dstdom_regex -i google.com

acl allow_google urlpath_regex -i www.google.com.cu/custom

http_access allow allow_google
http_access deny deny_google

With this conf allow all the custom search but deny the rest. The
problem is that this configuration do not work ... what it's wrong ??

Thanksss !!
Received on Fri Feb 17 2012 - 19:12:33 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 18 2012 - 12:00:03 MST