[Lias] Re: [acscomputers] Google rewrites?

Paul Gear pgear at redlands.qld.edu.au
Wed Aug 24 06:50:02 UTC 2005


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.

--
Paul Gear, Manager IT Operations, Redlands College
38 Anson Road, Wellington Point 4160, Australia
(Please send attachments in portable formats such as PDF, HTML, or
OpenOffice.)
--
If you've got skills or information that could be helpful to others,
please consider contributing to the schools IT support wiki at
http://schools.wikispaces.org
--
The information contained in this message is copyright by Redlands
College.  Any use for direct sales or marketing purposes is expressly
forbidden.  This message does not represent the views of Redlands
College.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.linux.org.au/pipermail/lias/attachments/20050824/8baaac1b/attachment.pgp 


More information about the lias mailing list