I have dbs that get download from other urlblacklist.com, and lists that
are maintained locally.

I have my main squidGuard.conf which referse to all the files I want,
but I also keep a a config file that refers just to my local databases,
and a config that uses only the downloaded databases.

Whenever the changes are made to the local databases through my web
interface the below command is ran.

/usr/bin/squidGuard -c /etc/squid/squidGuard.conf_local -C all

When the new databases are downloaded the script automatically does this
command

/usr/bin/squidGuard -c /etc/squid/squidGuard.conf_urlblacklist -C all

That way I only recompile the things that have changed.  There are
probably other ways, but this seems to work for me.

Chris


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Nelson
Sent: Monday, February 07, 2005 5:28 PM
To: [email protected]; [email protected]
Subject: How to use squidGuard -C <file> syntax? 


Hi,

I have a large squidGuard.conf file with many different db files that
take a long time to rebuild.  I only have a couple that vary frequently
and wonder if there's a way I can ask squidGuard to only rebuild certain
databases..

eg,  This list is not updated very often

dest porn
{       domainlist blacklists/porn/domains
        urllist blacklists/porn/urls
        expressionlist blacklists/porn/expressions
}

but this list changes frequently and needs to be rebuilt:

dest custom
{
        domainlist allowlists/site1/domains
        urllist allowlists/site1/urls
}

Can anyone help?  the "-C file" option looks promising but I can't work
out how to use it.

Thanks, Andrew


Reply via email to