Re: [squid-users] Blocking mixed URLs

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Thu, 30 Sep 2004 21:20:10 +0200

> Everybody can access the site www.telefutura.com.br, but nobody can =
> access the website www.uol.com.br.
>
> Now if any user type one of the three strings bellow the access to this =
> blocked website is grant (anyways you can only read the text of it =
> through, all the other links are broken).
>
> www.uol.com.br/telefutura.com.br
> www.uol.com.br/?telefutura.com.br
> www.uol.com.br/$telefutura.com.br
>
> What can I do to avoid it ?

You must be more specific in the url_regex acl.

For example:
acl Good url_regex ^www\.telefutura\.com\.br

An even better way is to use the dstdomain acl instead.

/Andreas
Received on Thu Sep 30 2004 - 13:19:43 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT