[squid-users] Re: cache allow all <AND> cache deny school ===> not working

From: HillTopsGM <emailgregagain_at_gmail.com>
Date: Sun, 1 Sep 2013 14:41:38 -0700 (PDT)

Oh My! I can't believe I Found It
<http://wiki.squid-cache.org/SquidFaq/SquidAcl> :

> You can't give the same name to two different types of ACL elements. It
> will generate a syntax error.

For those who may be looking this won't work:

> acl school
*
> dst
*
> 199.216.176.253
> acl school
*
> dst
*
> 199.216.176.9
> acl school
*
> dstdomain
*
> .redeemer.ab.ca
> acl school
*
> dstdomain
*
> .home.fc

This will work :

> acl school dst 199.216.176.253
> acl school dst 199.216.176.9
> acl school
*
> 2
*
> dstdomain .redeemer.ab.ca
> acl school
*
> 2
*
> dstdomain .home.fc

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/cache-allow-all-AND-cache-deny-school-not-working-tp4661884p4661886.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sun Sep 01 2013 - 21:42:19 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 02 2013 - 12:00:03 MDT