Search squid archive

Re: urlpath_regex not being matched

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux