Is your config file named <squidGuard.conf> or <filter.conf>? Both posts
list the log clip as being from <squidGuard.log> and the config file
clip as being from <filter.conf>.
The config file in your original post listed the correct directory
relationships:
Given: <dbhome /usr/local/squid/squidGuard/db>
If you place the downloaded blacklists file in dbhome and then extract
with <tar xvf>, you will find your porn files here:
</usr/local/squid/squidGuard/db/blacklists/porn/domains></usr/local/squi
d/squidGuard/db/blacklists/porn/urls>
</usr/local/squid/squidGuard/db/blacklists/porn/expressions>
And that agrees with your original config file:
-----------------------------------
dbhome /usr/local/squid/squidGuard/db
dest porn {
domainlist blacklists/porn/domains
urllist blacklists/porn/urls
expressionlist blacklists/porn/expressions
}
----------END----------------------
This tells it to look for the domains file here:
[dbhome + domainlist =
</usr/local/squid/squidGuard/db/blacklists/porn/domains>]
You most recent post looks for the files in a different location:
-----------------------------------
dbhome /usr/local/squid/squidGuard/db
dest porn {
domainlist /usr/local/squid/squidGuard/db/porn/domains
urllist /usr/local/squid/squidGuard/db/porn/urls
expressionlist /usr/local/squid/squidGuard/db/porn/expressions
}
----------END----------------------
[dbhome is ignored because of leading / in domainlist, urllist, etc]
This config tells it to look for the domains file here:
</usr/local/squid/squidGuard/db/porn/domains>
That is apparently where the file is, since squidGuard is working, but I
believe you moved it there manually.
I can't argue with success, but you might want to reconsider using the
original directory layout since it greatly simplifies regular updates.
Rick Matthews
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gavin Wing
Sent: Friday, July 27, 2001 5:01 AM
To: [EMAIL PROTECTED]
Subject: squidguard is now working, thanks all.
My rights were ok ( it was the 1st thing I checked when I read the error
in
the log file), but I think my problem was I unzipped the whole blacklist
from the squidguard.org site into my /db . So I removed this and only
put in
the suff I wanted, e.g. /porn. I started to get an error saying that the
/porn/domains file or dir did not exhist. Believe this or not but
squidguard
is ignoring the dbhome line in the config file so I had to modify the
config
file to look like this:
-----------------filter.conf-----------------------------------
logdir /usr/local/squid/squidGuard/log
dbhome /usr/local/squid/squidGuard/db
dest porn {
domainlist /usr/local/squid/squidGuard/db/porn/domains
urllist /usr/local/squid/squidGuard/db/porn/urls
expressionlist /usr/local/squid/squidGuard/db/porn/expressions
}
acl {
default {
pass !porn all
redirect http://www.wherever.com/policy.html
}
}
Thanks all who responded to my request, it's good to know that there is
help
when needed, and I am glad squidguard is working now. :-)
regards
Gavin