Search squid archive

Re: Google strict search & redirecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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?

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux