- Jun 18, 2009
- 228
- 0
- 0
Here is the code:
Inside the ad_block.txt file is one line for testing ".google.com" no quoats
Now ive put inside ad_block.txt a line that i KNOW works if I use it directly like this:
That blocks .google.com Simple. However i cannot get the example above that to read the list to deny all in that list. Including that one i KNOW works. What gives?!? Grrr
Code:
acl ads dstdomain "/etc/squid/ad_block.txt"
http_access deny ads
Inside the ad_block.txt file is one line for testing ".google.com" no quoats
Now ive put inside ad_block.txt a line that i KNOW works if I use it directly like this:
Code:
acl foo dstdomain .google.com
http_access deny foo
That blocks .google.com Simple. However i cannot get the example above that to read the list to deny all in that list. Including that one i KNOW works. What gives?!? Grrr
Last edited: