Re: [squid-users] Google strict search & redirecting

From: Bernardo Lam <blam@dont-contact.us>
Date: Wed, 8 Mar 2006 17:09:55 -0500 (EST)

On Wed, 8 Mar 2006, Mark Elsen wrote:

> > Can someone tell me the best way to go about redirecting Google searches
> > (images searches in particular) to enforce strict searching?
> >
>
> - What do you mean by strict searching ?

Google strict filtering maybe?:

http://www.google.com/help/customize.html

>
> > I've seen some examples using squidGuard & e-smith for example
> > http://www.tech-geeks.org/geeklog/article.php?story=20040826115541358,
> > but we don't run e-smith, can this be done with just squidguard?
> >

I *think* this patch:

http://www.longhill.brighton-hove.sch.uk/dcode/alex/squidGuard/Google/squidguard-sed.patch

and then maybe something like:

...
rewrite google {
        s@(google.com/search.*q=.*)@\1\&safe=active@i
        s@(google.com/images.*q=.*)@\1\&safe=active@i
        s@(google.com/groups.*q=.*)@\1\&safe=active@i
        s@(google.com/news.*q=.*)@\1\&safe=active@i
        s@(google.../search.*q=.*)@\1\&safe=active@i
        s@(google.../images.*q=.*)@\1\&safe=active@i
        s@(google.../groups.*q=.*)@\1\&safe=active@i
        s@(google.../news.*q=.*)@\1\&safe=active@i
}

acl {
    default {
       rewrite google

... in you squidguard.conf?
Received on Wed Mar 08 2006 - 15:10:05 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:03 MST