[squid-users] SquidGuard multiple redirects

From: Sean Brown <sbrown.home_at_gmail.com>
Date: Fri, 19 Jun 2009 16:03:32 -0400

I'm trying to set up SquidGuard here to redirect to different pages
for different things. For instance, ad blocking shouldn't go to the
same page that policy violations do.

I have something like the following

dest ads {
                domainlist ads/domains
                url ads/urls
}

dest porn {
                domainlist porn/domains
                url porn/urls
}

src client {
                ip 10.0.0.0-10.0.255.255
}

acl {
        client {
                pass !porn
                redirect http://thishost/porn.html
        }
        client {
                pass !ads
                redirect http://thishost/ads.html
        }
        default {
                pass !in-addr all
                redirect http://thishost/policy.html
        }
}

Testing squidGuard from the command line, the porn blocking redirects
correctly, but domains specified in ads do not redirect at all.

Is what I'm trying possible with squidguard or should I be looking at
a different redirector?

Thanks.
Received on Fri Jun 19 2009 - 20:03:40 MDT

This archive was generated by hypermail 2.2.0 : Sat Jun 20 2009 - 12:00:03 MDT