> I should have to do anything other than
> service squid restart to enable that should I?
In order to implement a change in squidGuard.conf? I always use
'squid -k reconfigure'.
> I guess I'll get back in there and try and
> debug that script some more. I know I tried
> targetgroup=%t but maybe I was missing something
> somewhere.
Here's something that may help you isolate the problem - add a
logfile command within one or more of your destination groups:
dest porn {
domainlist blacklists/porn/domains
urllist blacklists/porn/urls
redirect whatever
logfile /usr/local/squidGuard/log/porn.log
}
That will give you a log entry for each hit in that destination
group.
Here's a sample redirect:
Additional information:
Client address = 192.168.44.3
Client name =
Client user = rick
Client group = parents
URL = http://www.dummyentry.net/
Target group = porn
Here's the corresponding log entry in porn.log (date/time/pid
removed):
Request(parents/porn/-) http://www.dummyentry.net/ 192.168.44.3/-
rick GET
You see that the first item in the parenthasis is the Client group,
and the second is the destination group. If you found that your log
entries don't include the destination group, you'd know the problem
isn't your redirect cgi, right?
Hope that helps.
Rick
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin
White
Sent: Thursday, April 18, 2002 7:59 AM
To: [EMAIL PROTECTED]
Subject: RE: passing variables to the cgi
Thanks to all who replied.
I guess I'll get back in there and try and debug that script some
more.
I know I tried targetgroup=%t but maybe I was missing something
somewhere. I should have to do anything other than
service squid restart
to enable that should I?
Thanks,
--
Kevin White, Linux+, A+