Dear all,

I have got a working squidguard trying to add viralator onto it. I am not sure why, seems like squidguard is not doing anything on the acl part for viralator. Below is my configuration for squidguard.conf:

#Provided by Jorge Flores" <[EMAIL PROTECTED]>

#squidGuard.conf --> /etc/squid/squidGuard.conf

logdir /var/log/squidguard
dbhome /var/db


#### Group of domains & urls with access permit
dest porn { domainlist blacklists/porn/domains urllist blacklists/porn/urls }



#### Group of file types to be scanned or forbidden to download dest scan { expressionlist blacklists/scan/expressions }

#### "file" is the name of control list
#### "files" a file in the  subforder proibidos under folder db
#(/etc/squid/squidGuard/db

#### Group of users to apply the polices
src users {
    ip 172.16.0.1 - 172.16.0.253
}


#### Apply rules based in the created control list above
acl {
users {
pass !porn !scan all
redirect http://www.suretecsystems.com/redirect/index.html
}default {
pass !scan all
redirect http://172.16.0.105/cgi-bin/viralator.cgi?url=%u
}
}

When I change the acl for porn redirection from "users" -> "default" the porn redirection stop working. When I change it back to "users" porn redirection works. However I can never get the viralator redirection part working. Is there a problem with my configuration?


Hope anyone cna help me,

thanks in advance,

Regards
Yong



Reply via email to