I have installed Squid proxy and SquidGuard on Ubuntu Server 14.04. I managed to get Squid proxy passing through traffic without any issue, but I am having issues with getting SquidGuard to work properly alongside Squid. I am trying to configure SquidGuard as a url-rewrite proxy for an educational organization so that they can force google search requests by appending the safe search syntax.
Here is my sample SquidGuard.conf:
Code:
dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log
rew google {
s@(.*google\..*/(custom|search|images|groups|news)?.*q=.*)@\1\&safe=active@i
}
acl {
default {
pass any
rewrite google
}
}
Does anybody have any experience using SquidGuard to rewrite google search requests? If there is a better way to do this I am certainly interested as well.