Pablo;
You have to use a . before the domain name.
IE
.playboy.com
.hustler.com
.sex.com
.yahoo.com
Regards!
Ricardo
At 12:10 p.m. 01/02/2005 +0000, Pablo Romero wrote:
>Hello
>
>I am running Squid 2.5Stable6, created an acl like this:
>====================================
>
>acl deniedsites dstdomain "/usr/local/squid/blacklists/porn"
>http_access deny deniedsites
>
>====================================
>
>The porn file contains entries like:
>
>playboy.com
>penthouse.com
>
>
>When I test the ACL trying to browse http://www.playboy.com, squid doesn't
>block the site, but when I go to http://playboy.com, then the site gets
>blocked. This means Squid is not matching subdomains.
>
>I installed Squid 2.2 Stable 5, created the same acl, used the same porn
>file and the ACL worked. My Question: Is there and option I have to set
>for squid 2.5Stable6 match the subdomains?
>
>
>Hope you can help guys
>
>
>
>Regards
>
>
>
>Pablo Romero
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 28/01/2005
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 28/01/2005Received on Tue Feb 01 2005 - 08:03:27 MST
This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST