[Lias] Re: [acscomputers] Google rewrites?

Ted Percival T.Percival at stpeters.qld.edu.au
Wed Aug 24 06:54:01 UTC 2005


Be aware that there are the "local" domains -- google.com.au as well as other regional sites (google.co.nz, etc) which can be used.

-Ted Percival

-----Original Message-----
From: lias-admin at lists.linux.org.au
[mailto:lias-admin at lists.linux.org.au]On Behalf Of John Summerfield
Sent: Tuesday, 23 August 2005 7:23 PM
Cc: lias at lists.linux.org.au
Subject: Re: [Lias] Re: [acscomputers] Google rewrites?


Daniel Palmer wrote:
>>Paul Gear wrote:
>>
>>>Jason Parlevliet wrote:
>>>rewrite google {
>>>        s@(google.com/search.*q=.*)@\1\&safe=strict at i
>>>        s@(google.com/images.*q=.*)@\1\&safe=strict at i
>>>        s@(google.com/groups.*q=.*)@\1\&safe=strict at i
>>>        s@(google.com/news.*q=.*)@\1\&safe=strict at i
>>>        log google
>>>}
>>>
>>>and then 'rewrite google' later on in the acl section, but 
>>>this is producing the following error in syslog:
>>>
>>>squid[12164]: urlParse: Illegal character in hostname 
>>
>>'www.\1\&safe=strict'
>>
>>That looks to me like the substitution isn't happening, but i'm not
> 
> sure - the regex looks fine to me.
> 
>>Can any of the LIAS folks offer a suggestion?
> 
> 
> Looking at the squidGuard conf - it rewrites the whole URL so you prob
> want something more like
> s@(google.com/search.*)@http://www.google.com/search\1\&safe=strict@i -
> but as Paul said - it doesn't look like the substitution is taking
> place.  I haven't played with this part of squidguard :-S


https://listman.redhat.com/archives/k12osn/2004-April/msg00805.html

-- 

Cheers
John
Corridors College Western Australia

_______________________________________________
lias mailing list
lias at lists.linux.org.au
http://lists.linux.org.au/listinfo/lias

The contents of this e-mail and its attachments are only intended for the addressee and may contain privileged or confidential information.

Unauthorised use, copying or distribution of this document or any part of its contents is prohibited.

If you received this e-mail in error, please let us know immediately by return e-mail or by telephone on +61 7 3377 6222.

St Peters will reimburse reasonable expenses incurred as a result of this e-mail's return.






More information about the lias mailing list