Hi there,
I'm wondering if anyone can help me?
I've installed squid & squidguard with the intention of protecting the kids from unwelcome content on the net.
When I point my browser to the squid proxy I get the following
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://www.ask.com/
The following error was encountered:
* Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
I have set the redirection program in squid.conf and pointed it to my squidguard.conf as follows
redirect_program /etc/sbin/squidguard -c /etc/squid/squidguard.conf
and am using the following squidguard.conf
#
# CONFIG FILE FOR SQUIDGUARD
#
dbhome /var/lib/squidguard
logdir /var/log/squidguard
#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
#time workhours {
# weekly mtwhf 08:00 - 16:30
# date *-*-01 08:00 - 16:30
#}
#
# REWRITE RULES:
#
#rew dmz {
# s@://admin/@://admin.foo.bar.no/@i
# s@://foo.bar.no/@://www.foo.bar.no/@i
#}
#
# SOURCE ADDRESSES:
#
#src admin {
# ip 1.2.3.4 1.2.3.5
# user root foo bar
# within workhours
#}
#src foo-clients {
# ip 172.16.2.32-172.16.2.100 172.16.2.100 172.16.2.200
#}
#src bar-clients {
# ip 172.16.4.0/26
#}
#
# DESTINATION CLASSES:
#
#dest good {
#}
dest local {
urllist /etc/squid/local/good/urls
}
#dest adult {
# domainlist dest/adult/domains
# urllist dest/adult/urls
# expressionlist dest/adult/expressions
# redirect #http://admin.foo.bar.no/cgi/blocked?...lass=%t+url=%u
#}
acl {
# admin {
# pass any
# }
# foo-clients within workhours {
# pass good !in-addr !adult any
# } else {
# pass any
# }
# bar-clients {
# pass local none
# }
default {
pass local none
# rewrite dmz
redirect 302:www.bbc.co.uk
}
}
Hope somebody can help
Thanks
Paul
