EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Thursday 28 November 2024, 06:10:51 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
The Latest Endian Firewall is now available for download
HERE
14261
Posts in
4377
Topics by
6517
Members
Latest Member:
Sandro
Search:
Advanced search
EFW Support
Support
EFW SMTP, HTTP, SIP, FTP Proxy Support
How to rewrite google search to force all queries to have safesearch active
0 Members and 0 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: How to rewrite google search to force all queries to have safesearch active (Read 10622 times)
lukew
Jr. Member
Offline
Posts: 1
How to rewrite google search to force all queries to have safesearch active
«
on:
Wednesday 02 November 2011, 01:46:12 am »
Hi all,
I would like to know the steps to rewrite the google search string to force the safesearch for all queries.
I guess it should look something like this ...but I am unsure how that translates into the current endian squid config.
rewrite google {
s@(google.com/search.*q=.*)@\1\&safe=active i
s@(google.com/images.*q=.*)@\1\&safe=active i
s@(google.com/groups.*q=.*)@\1\&safe=active i
s@(google.com/news.*q=.*)@\1\&safe=active i
# log google
}
acl {
default {
# for google to be in "safe mode"
rewrite google
pass all
pass eg-ok !eg-block local-ok !local-block !aggressive !hacking !violence !gambling !porn !warez all
Thanks,
Luke
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.047 seconds with 19 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com