I'm trying to use my blocklist.txt
Here is my squid.conf
acl gator dstdomain www.gator.com gatorcme.gator.com
http_access deny gator
acl to_block dstdomain "/usr/local/squid/blocklist.txt"
http_access allow all
acl INSIDE dstdomain wwwproxy.k12.de.us
always_direct allow INSIDE
never_direct allow all
My blocklist.txt is
doubleclick.net
cometsystems.com
ad.trafficmp.com
gator.com
www.sexy-ksenia.maxhosted.com
vampirella.com
candystand.com
shockwave.com
media.popuptraffic.com
miniclip.com
Any ideas why it doesn't work. I know it is supposed to be one line per
entry but I thought it would just skip the blank lines.
Thanks
Gary
I have has squid up for about a week and it is great.
>> list into squid.conf after I put the names one after another with a
>> space in between.
>
> Better to put them in a separate file if the list is long.
>
> acl to_block dstdomain "/path/to/blocklist.txt"
> and blocklist.txt contains a list of domains to block, one per line.
> Lines starting with a # is ignored and assumed to be comments.
>
> Regards
> Henrik
>
>
Received on Wed Mar 26 2003 - 11:52:03 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:21 MST