Instead of using redirectores, I use "deny_info" on squid.conf (much easier), as follows:

---------------------------------
# Declaration of the ACL for Pornography
acl porn url_regex -i "/etc/squid/lists/porn.url"

# Redirection to 10.0.0.10
deny_info http://10.0.0.10/proxy/?cat=porn&url=%s porn

# Blocking access to porn (user will be redirected to the link above)
http_access deny all porn
---------------------------------

It rocks!

Regards,

Luis Talora




Luiz Henrique Ozaki escreveu:
Hi,

Im using a DNSBL redirector that denies some sites redirecting to a
warning page.
How can I make denied sites from the redirector to get logged in the
access.log as denied ??

Im using dnsbl on redirect_program ( http://www.frws.com/squid_block/).

Is it possible to use external_acl_type with this redirector with a
little modification making this 'redirector' like the squid ACLs ?
Like when got a denied, gets a squid denied message and get logged in
access.log.


Reply via email to