Hello,
Is there a way to configure Squidguard to redirect users to different sites depending on which blacklist they hit? For example, I have two blacklists - "blocked_auto" is a list of 1000s of banner ad and spyware sites obtained from a web site, "blocked_malware" is a smaller list of sites I manually add to. For "blocked_auto" I just want to redirect to a Intranet web page that says "Access to this site was denied by the sysadmin", but for "blocked_malware" I want to redirect to a different Intranet web page that runs a php script to log the access.
Thanks,
slacky
Here is a simplied version of my squidGuard.conf (my real one has a bit more rules).
Code:
dest blocked_malware {
domainlist blocked_malware
}
dest blocked_auto {
domainlist blocked_auto
}
acl {
ip_admins {
pass !blocked_malware !blocked_auto all
}
allowed_users {
pass !blocked_malware !blocked_auto all
}
default {
pass always_allowed none
redirect http://www.intranet.local/noaccess.html
}
}