Hi Here's my squidguard.conf logdir /var/squidGuard/logs dbhome /var/squidGuard/db src goodusers { user administrator admin2 dave } dest adverts { domainlist blacklist/adverts_domains expressionlist blacklist/adverts_exps redirect http://10.1.113.3/advert.gif } dest webmail { domainlist blacklist/webmessaging_domains expressionlist blacklist/webmessaging_exps urllist blacklist/webmessaging_urls } dest textmessage { domainlist blacklist/textmessage_domains urllist blacklist/textmessage_urls expressionlist blacklist/textmessage_exps } dest uneducational { domainlist blacklist/unedu_domains urllist blacklist/unedu_urls expressionlist blacklist/unedu_exps } dest blacklist { domainlist blacklist/bad_domains urllist blacklist/bad_urls expressionlist blacklist/bad_exps } dest goodlist { domainlist blacklist/good_domains urllist blacklist/good_urls expressionlist blacklist/good_exps } dest websites { domainlist blacklist/websites_domains urllist blacklist/websites_urls } acl { goodusers { pass goodlist websites !adverts !webmail !blacklist all } default { pass goodlist websites !adverts !webmail !textmessage !uneducational !blacklist all redirect http://10.1.113.3/filtered.asp?clientaddr=%a&clientname=%n&clientuser=%i&cli entgroup=%s&targetgroup=%t&url=%u } } Should be fairly simple to adapt this to suit your needs, Rgds, Dave Turnbull Curriculum Network Manager The Purbeck School T: 01929 556301 (Ext 257) F: 01929 554025 E: dturnbull@purbeck.dorset.sch.uk W: www.purbeck.dorset.sch.uk ----- Original Message ----- From: Thomas Adam <thomas_adam16@yahoo.com> To: [VL]Sparkz <sparkz@breathemail.net>; Schools List <suse-linux-uk-schools@suse.com> Cc: <admin2@users.purbeck.dorset.sch.uk> Sent: Wednesday, November 21, 2001 10:27 AM Subject: Re: [suse-linux-uk-schools] config file
[Dave Turnbull: could you help him? I know the answer but I cannot remember the syntax of that redirect thing that we used....:-)]
Thanks
-----------------forward message: start-----------
--- "[VL]Sparkz" <sparkz@breathemail.net> wrote: >
dbhome /usr/local/squidGuard/db logdir /usr/local/squidGuard/log
dest itsok { urllist itsok/urls domainlist itsok/domains expressionlist itsok/expressions }
dest porn { domainlist porn/domains urllist porn/urls } dest mylist { domainlist mylist/domains urllist mylist/urls expressionlist mylist/expressions }
dest ads { domainlist ads/domains urllist ads/urls expressionlist ads/expressions } acl { default { pass itsok !porn !mylist !ads all redirect http://localhost/banned.html } }
This brings back some old memories......
this bans porn, bans mylist and bans ads but lets through itsok even if on banned list. what i want to do is have a different redirect for porn , mylist and ads, so that if goin to a porn site they are sent to http://localhost/porn.html and when they go to mylist they are sent to http://localhost/mylist.html and when they go to ads they ar redirect to http://localhost/ads.html at the moment they are just sent to http://localhost/banned.html for all banned sites.
This is possible using a redirect string within "/etc/squidguard.conf". I've forwarded this e-mail on to Dave Turnbull (we both did a bit of this...), only he has the original file with the redirect string in it and I don't......
I just hope he doesn't mind the intrusion
===== Thomas Adam
"The Linux Weekend Mechanic" -- www.linuxgazette.com
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender. If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk