Re: [K12OSN] Squid and SquidGuard help

Eric Harrison (eharrison@mail.mesd.k12.or.us)
Wed, 27 Mar 2002 09:40:11 -0800 (PST)


On Wed, 27 Mar 2002, David Trask wrote:

>>>Hey!  I found the problem!  In the program....the reference to
>>>squidGuard.conf is misspelled.  I checked the log and it was looking for
>>>sguidGuard.conf   (note the "g" instead of a "q")  I simply changed the
>>>name of "squidGuard.conf" to "sguidGuard.conf" and it worked!  
>>
>>Was that my typo? If so, where? 
>
>I looked in the squidGuard log and it said something like "can't open
>configfile /etc/squid/sguidGuard.conf"   hope that helps.
>
>I got a redirect to work....now the last thing....how do I edit the
>blacklists to block some site sthat I want blocked....say mtv.com for
>example?  I need the quick and drity way.  Thanks!

In /var/squidGuard/blacklists, there are two "local" databases, one for
sites to block and one for sites to always let though:

	/var/squidGuard/blacklists/local-block
	/var/squidGuard/blacklists/local-ok

In each one, there is a file named "domains" and one named "urls". If you
want to block a whole domain, say "mtv.com", just add "mtv.com" to
/var/squidGuard/blacklists/local-block/domains

If you want to let "http://www.mtv.com/goodstuff" through, you could add
"mtv.com/goodstuff" to /var/squidGuard/blacklists/local-ok/urls

If you want to make the changes take affect immediately, run:

	/usr/sbin/update_squidguard_blacklists 


-Eric



_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see