Using regex "/etc/squid.adservers" I'm attempting to block any URL's with "penis" AND "large" in the url. Basically *penis*large* and *large*penis* ..I was looking at doing like so..
(/large/ && /penis/) (/penis/ && /large/) Removing the brackets doesnt change anything. /penis/ && /large/ /large/ && /penis/ But this doesnt work :/ my "test" URL's i'm using.. http://penisenlargement.com/ http://enlarge-your-penis-enlargement-pill-penis-enlarger.com/ my squid.conf.. http_port 3128 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_dir ufs /var/spool/squid 200 16 256 maximum_object_size 65536 KB visible_hostname 10.0.0.3 log_fqdn on acl ads dstdom_regex -i "/etc/squid.adservers" deny_info ERR_ACCESS_DENIED ads acl all src 0.0.0.0/0.0.0.0 acl localnet src 10.0.0.0/255.255.255.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl localdst dst 127.0.0.1 192.168.0.0/255.255.255.0 acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access allow localdst http_access allow localnet http_access deny ads http_access deny all icp_access allow all httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on
