Glad to hear that you are up and running!

After re-reading my post I feel obligated to clarify my example for
others reading it:
> +nastysite.com
> +anothernastysite.com
> ... would go in <domains.diff>.
>
> +nastysite.com/suzieq
> +anothernastysite.com/images/bertha
> ... would go in <urls.diff>.

If <domains.diff> contained the two domains listed, adding the two urls
listed to <urls.diff> would be redundant. <nastysite.com> added to
domains would block *ALL* urls at <nastysite.com>, where adding
<nastysite.com/suzieq> to <urls.diff> would only block urls in the
suzieq folder or below.

> When I said it looked aokay, I menat there were no errors coming up.

As I mentioned, the log file delivers good news, as well as bad. If
you'll check it after your successful update you'll find a few
additional lines:

update dbfile /usr/local/squidGuard/db/block/blacklists/porn/domains.db
update: added xx entries, deleted xx entries
update dbfile /usr/local/squidGuard/db/block/blacklists/porn/urls.db
update: added xx entries, deleted xx entries
db update done

Again, glad you got it working!


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tom Elsesser
Sent: Tuesday, October 23, 2001 9:13 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Adding urls to db


On Tue, 23 Oct 2001 07:20:45 -0500, "Rick Matthews"
<[EMAIL PROTECTED]> wrote:

>+nastysite.com
>+anothernastysite.com
>... would go in <domains.diff>.
>
This is what I wasn't doing. After reloading diff file this way, it
worked.



>
>You mentioned that "everything seems to go okay"; what did the
>squidGuard log indicate? It is very helpful in determining what has
gone
>right, or gone wrong.
>

When I said it looked aokay, I menat there were no errors coming up.
FWIW, this is what the log file looked like with the wrong diff file:

2001-10-22 14:03:29 [1290] squidGuard stopped (1003773809.286)
2001-10-22 14:03:32 [1314] init domainlist
/usr/local/squidGuard/db/porn/domains
2001-10-22 14:03:32 [1314] loading dbfile
/usr/local/squidGuard/db/porn/domains.db
2001-10-22 14:03:32 [1314] init urllist
/usr/local/squidGuard/db/porn/urls
2001-10-22 14:03:32 [1314] loading dbfile
/usr/local/squidGuard/db/porn/urls.db
2001-10-22 14:03:32 [1314] squidGuard 1.1.4 started (1003773812.318)
2001-10-22 14:03:32 [1314] squidGuard ready for requests
(1003773812.322)


Thanks for your help. Much appreciated.




--
Tom

Reply via email to