[squid-users] How to deny urls without www ?

From: Luiz Gustavo Sarubi Macchi <[email protected]>
Date: 30 Apr 2003 15:50:03 -0300

Hi all

I'm trying to deny all sites to a group of users.
So when this guys access sites like:

http://bacaninha.globo.com/home/index.php
http://baixaki.ig.com.br/site/index.htm

They can access this page, but I'd like to deny them
They are denyed if trying to access www.terra.com.br or www.globo.com.br
or www.uol.com.br.
So I realized that it's because www. With www they are denyed, without
www they can access the sites.

My acls rules:

acl password proxy_auth REQUIRED
acl denyados proxy_auth alessandro fabiano rodrigo william
acl allowados proxy_auth junior lgsm paloma licia patricia gilson denise
acl urlsAllowados url_regex [-i] ^equifax sci sintegra cep emar symantec
correios etc bb

http_access allow denyados urlsAllowados
http_access deny denyados
http_access allow allowados
http_access deny all

What's wrong ?

Thank you very much

Gugao
Received on Wed Apr 30 2003 - 12:50:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:45 MST