Re: [squid-users] blocking ads/sites not working anymore?

2013-03-11 Thread Tim Bates
On 10/03/2013 10:45 PM, Andreas Westvik wrote: So what kind of format do I have now then? Do you have any examples? You've got "dstdom_regex" in the line that includes the list file, so it's processing it through regex for every entry, and none of them need to. Change the entries in the file

Re: [squid-users] blocking ads/sites not working anymore?

2013-03-10 Thread Andreas Westvik
So what kind of format do I have now then? Do you have any examples? -Andreas On Mar 10, 2013, at 07:46 , Amos Jeffries wrote: > On 2013-03-10 01:54, Andreas Westvik wrote: >> Hi everyone >> >> Over the time I have collected a lot of sites to block. > >> >> #Block >> acl ads dstdom_regex -i

Re: [squid-users] blocking ads/sites not working anymore?

2013-03-09 Thread Amos Jeffries
On 2013-03-10 01:54, Andreas Westvik wrote: Hi everyone Over the time I have collected a lot of sites to block. #Block acl ads dstdom_regex -i "/etc/squid3/adservers" http_access deny ads cat /etc/squid3/adservers | less (^|\.)yieldmanager\.edgesuite\.net$ (^|\.)yieldmanager\.net$ (^|\.)y

Re: [squid-users] blocking ads/sites not working anymore?

2013-03-09 Thread Andreas Westvik
That did the trick! :D http://bildr.no/view/1411006 On Mar 9, 2013, at 14:33 , Amm wrote: > > > - Original Message - >> From: Andreas Westvik >> To: "squid-users@squid-cache.org" >> Cc: >> Sent: Saturday, 9 March 2013 6:24 PM >&

Re: [squid-users] blocking ads/sites not working anymore?

2013-03-09 Thread Amm
- Original Message - > From: Andreas Westvik > To: "squid-users@squid-cache.org" > Cc: > Sent: Saturday, 9 March 2013 6:24 PM > Subject: [squid-users] blocking ads/sites not working anymore? > > Hi everyone > > Over the time I have collected a lo

[squid-users] blocking ads/sites not working anymore?

2013-03-09 Thread Andreas Westvik
Hi everyone Over the time I have collected a lot of sites to block. ads/malware/porn etc. This has been working like a charm. I have even created a custom errorpage for this. But since I don't know when, this has stopped working. And according to the googling I have done, my syntax in squid.conf