Pedro Lineu wrote:
>
> Does anybody know how can I have an expressions list exceptions on
> squidGuard?
>
> For eg: I�d like to have the word "sex" blocked by expressions, but,
> I cannot block this one: http://casexpress.sybase.com

This will do it:

src everybody {
        ip                      192.168.0.0/24
}

dest porn {
        domainlist              porn/domains
        urllist         porn/urls
        expressionlist  porn/expressions
        redirect                http://yourserver.com/...
        logfile         porn.log
}

dest allowed {
        domainlist      allowed/domains  #contains casexpress.sybase.com
}

acl {
        everybody {
                pass allowed !porn all
        }

        default {
                pass none
        }
}



Reply via email to