freebsd-ports/www/squidguard/files/sgcfg.in
Cy Schubert 6d78fe8506 Update squidguard 1.1.4 -> 1.2.0.
PR:		ports/33636
Submitted by:	MAINTAINER:  Dan Larsson <dl@tyfon.net>
Reviewed by:	nectar
Approved by:	MAINTAINER:  Dan Larsson <dl@tyfon.net>
2002-02-09 16:39:41 +00:00

41 lines
772 B
Text

#
# SAMPLE CONFIG FILE FOR SQUIDGUARD
# (for further configuration options see the
# documentation and http://www.squidguard.org/)
#
dbhome DATADIR
logdir LOGDIR
#
# 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
}
#
# SOURCE ADDRESSES
#
source sample-clients {
ip 10.0.0.0/24
}
#
# DESTINATION CLASSES
#
DEST_CLASSES
acl {
sample-clients within workhours {
pass BLACKLIST_DIRS !in-addr any
} else {
pass any
}
default {
pass none
redirect http://admin.foo.bar.no/cgi/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+url=%u
}
}