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


Reply via email to