I'm trying to block ads.. http://somesite.com/something/ads/flash-advert.swf
what would be the correct regex to block *somesite.com/something/ads/* 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 cache_mem 20 MB ipcache_size 2672 visible_hostname 10.0.0.6 # Timeouts peer_connect_timeout 50 seconds connect_timeout 180 seconds # log_icp_queries off log_fqdn off # cache_access_log none #cache_swap_log none #cache_log none forwarded_for off 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 10.0.0.0/255.255.255.0 acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny ads 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
