[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [K12OSN] Squid and SquidGuard help
- From: Eric Harrison <eharrison mail mesd k12 or us>
- To: David Trask <dtrask vcs u52 k12 me us>
- Cc: k12osn redhat com
- Subject: Re: [K12OSN] Squid and SquidGuard help
- Date: Wed Mar 27 12:40:03 2002
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 grepped for it, but don't find it>
>
>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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]