[squid-users] urlpath_regex not being matched

Antony Stone Antony.Stone at squid.open.source.it
Mon Jan 18 17:38:52 UTC 2016


On Monday 18 January 2016 at 18:31:40, Yuri Voinov wrote:

> Facebook (like more others) uses Akamai CDN as background delivery service.
> 
> So, facebook.* domain is a little part of whole big fat Facebook :)

True, but that should still match *request* URLs (once the HTTP/S problem is 
sorted out), no?

> 18.01.16 23:29, Antony Stone пишет:
> > 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
> > 
> > Okay, so you've set up some HTTP access controls... so far, so good.
> > 
> >> If I try accessing https://www.facebook.com/groups I get blocked
> > 
> > That's an HTTPS URL, not HTTP :)
> > 
> >> ps: I'm using this squid version
> >> Squid Cache: Version 3.0.STABLE18
> > 
> > That's old - you are strongly recommended to upgrade.
> > 
> > 
> > Antony.

-- 
Perfection in design is achieved not when there is nothing left to add, but 
rather when there is nothing left to take away.

 - Antoine de Saint-Exupery

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list