Hi

 

I’ve installed SquidGuard and have it working fine.

However I want to know be able to implement safe searching on some major search engines.

I’ve found a way of doing this with Google so that any searches for web pages or images on Google has the URL rewritten so it turns on Googles safe search feature.

But I’m having major problems with Yahoo and can’t seem to implement their safe search feature in a URL rewrite.

Has anyone been able to do this?

 

My google example is below:

 

rew strictgoogle {

s@(.*.google..*)(/imghp?)@images?&safe=strict&@ir

s@(.*.google..*)(.safe.off)@images?&safe=strict&@ir

s@(.*.google..*)(/images?q=)@images?&safe=strict&[EMAIL PROTECTED]

s@(.*.google..*)(/search?q=)@search?&safe=strict&[EMAIL PROTECTED]

 

}

 

So it rewrites the URL and uses Google’s strict safe search feature.

 

As for Yahoo I believe the bit that needs to be added to the URL is: vm=r

How do I write a rule that will pick up any .*yahoo.* sites and leave the URL intact but just append: &vm=r

 

Thanks in advance

 

Tony


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.10/119 - Release Date: 04/10/2005

Reply via email to