[Lias] Re: [acscomputers] Google rewrites?
John Summerfield
summer at corridors.wa.edu.au
Wed Aug 24 07:40:02 UTC 2005
Paul Gear wrote:
> John Summerfield 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.
>>>
>>>...
>>
>>https://listman.redhat.com/archives/k12osn/2004-April/msg00805.html
>
>
> That's where i got the original recipe above.
Did you note the patch required?
--
Cheers
John
Corridors College Western Australia
More information about the lias
mailing list