Hi guys hope you can help. Heres my config file.
 
 
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 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.
 
 
Keep it up your all doin a grand job.
sparkz

Reply via email to