[squid-users] urlpath_regex not being matched
Antony Stone
Antony.Stone at squid.open.source.it
Mon Jan 18 18:48:34 UTC 2016
On Monday 18 January 2016 at 19:43:56, Jorgeley Junior wrote:
> I didn't test this, but i think it works better:
> *http_access deny banned_sites !good_facebook*
> is it works?
That would work, yes, but:
- it's not as obvious as putting two lines one after the other
- this is only an example to test whether filtering works, and for production
use there's going to be plenty of other rules before and/or after just the
Facebook ones, so now isn't the time to be trying to optimise them :)
> >> >>>> On Monday 18 January 2016 at 18:22:24, LucĂa Guevgeozian wrote:
> >> >>>>> acl good_facebook urlpath_regex groups
> >> >>>>> acl banned_sites url_regex "/etc/squid/config/banned_sites"
> >> >>>>>
> >> >>>>> inside banned_sites I have the word facebook
> >> >>>>>
> >> >>>>> http_access allow good_facebook
> >> >>>>> http_access deny banned_sites
Antony.
--
#define SIX 1+5
#define NINE 8+1
int main() {
printf("%d\n", SIX * NINE);
}
- thanks to ECB for bringing this to my attention
Please reply to the list;
please *don't* CC me.
More information about the squid-users
mailing list