Re: [squid-users] Re: Blocking spesific url

From: Andreas Westvik <andreas_at_spbk.no>
Date: Fri, 11 Jul 2014 10:38:02 +0200

Having some issues replying to the thread, thought I had pasted both already.
Anyway, here goes.

Here is my (working) squid.conf without the acl.

http_port 192.168.0.1:3128 transparent
#Block
acl ads dstdom_regex -i "/etc/squid3/adservers"
http_access deny ads
acl LAN src 192.168.0.0/24
http_access allow LAN
http_access deny all
maximum_object_size 100 MB
cache_dir ufs /var/spool/squid3 5000 16 256

And here is the top of my /etc/squid3/adservers file

akamaihd\.net\/battlelog\/background-videos\/ <� Not working.
rd.samsungadhub.com
ad.samsungadhub.com
http://eaassets-a.akamaihd.net/battlelog/background-videos/naval-mov.webm$
(^|\.)serving-sys.com
tracking.xwebhub.net

On 11 Jul 2014, at 10:03, babajaga <augustus_meyer_at_yahoo.de> wrote:

> Pls, publish your complete non-working squid.conf
> OR
> at least the part invoking your
> /etc/squid3/adservers
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Blocking-spesific-url-tp4666791p4666836.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Jul 11 2014 - 08:38:12 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2014 - 12:00:04 MDT