Hi,

I just tried this with our system - you must have at least one redirect
- just use the one for default. Otherwise, what does squid return to the
browser???

cheers



Symon Aked wrote:
> 
> Good morning,
> 
> We've recently deployed squid(2.4s6), and are phasing in functions of
> squidGuard (1.2.0 on Solaris 8).
> 
> What I'd like to do is log all access to certain sets of sites, without
> doing any redirecting.  Currently nothing is logged to the logfile
> specified when sites matching one of the criteria are met.  Below is a
> pruned version of my squidGuard.conf file:
> 
> "
> logdir /usr/local/squidGuard/log
> dbhome /usr/local/squidGuard/db
> 
> dest porn {
>    domainlist porn/domains
>    urllist porn/urls
>    expressionlist porn/expressions
>    log /usr/local/squidGuard/log/porn.log
> }
> 
> acl {
>    default {
>       pass !porn all
>    }
> }
> "
> 
> The documentation I can find about the destination group declaration says:
> "...filename is either a path relative to logdir or an absolute path (i.e.
> /full/path) to a logfile where redirects caused by match of this group
> should be logged."
> 
> Is there a solution/workaround to log without redirecting?  Eventually I'd
> want to use the redirect function, but for the time being, I only want
> logs.
> 
> Thanks for your time,
> 
> - Symon...

Reply via email to