Hi Tony There is a patch for SquidGuard to allow just this kind of thing without having to have complex rewrite rules. I think it was originally developed by the K12LTSP project.
I've got a mirror of the patch on our webserver here: http://www.longhill.brighton-hove.sch.uk/dcode/alex/squidGuard/Google/ The syntax to use this is: rewrite google { s@(google.com/search.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.com/images.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.com/groups.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.com/news.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.co.uk/search.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.co.uk/images.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.co.uk/groups.*q=.*)@\1\&[EMAIL PROTECTED] s@(google.co.uk/news.*q=.*)@\1\&[EMAIL PROTECTED] } acl { default { rewrite google pass !virusinfected !downloads sok !lb ok learndirect !ads !adu } } You may also be interested in these: http://www.longhill.brighton-hove.sch.uk/dcode/alex/squidGuard/LDAP/ Various patches for extra functionallity. There is a writeup for them all here: http://www.netdirect.ca/software/category.php?cat=SquidGuard Hope that's helpful -- Alex Harrington - IT Support, Longhill High School t: 01273 304086 | e: [EMAIL PROTECTED]
