|
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 -- |
- Rewrite rules for search engines Tony Spencer
- RE: Rewrite rules for search engines Alex Harrington
