<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I think I have a very basic question about acl, but I can't figure out why this simple config is not working:<br><br></div>In my squid.conf file I have 2 acl<br><br>acl good_facebook urlpath_regex groups<br>acl banned_sites url_regex "/etc/squid/config/banned_sites"<br><br></div>inside banned_sites I have the word facebook<br><br></div>then,<br>http_access allow good_facebook<br>http_access deny banned_sites<br><br></div>If I try accessing <a href="https://www.facebook.com/groups">https://www.facebook.com/groups</a> I get blocked and I can't see the match in the cache.log, so my guess is that I am being blocked by the facebook regex in banned_sites<br><br>2016/01/18 10:58:01.965| ACLChecklist::preCheck: 0x85ef37c checking 'http_access allow good_facebook'<br>2016/01/18 10:58:01.965| ACLList::matches: checking good_facebook<br>2016/01/18 10:58:01.965| ACL::checklistMatches: checking 'good_facebook'<br>2016/01/18 10:58:01.965| ACL::ChecklistMatches: result for 'good_facebook' is 0<br><br>1453119069.736      3 10.1.1.51 TCP_DENIED/403 2204 CONNECT <a href="http://www.facebook.com:443">www.facebook.com:443</a> lucia.guevgeozian NONE/- text/html<br><br></div>Originally my problem was a bit different, I need to allow access to a specific group on facebook, and the corresponding login page, after trying many regex and many suggestions from different websites that made a lot of sense, I started testing just with the <a href="https://www.facebook.com/groups">https://www.facebook.com/groups</a>, but still no luck.<br><br></div>I really appreciate if someone could help me out with this, I can't seem to understand exactly how the access lists are being processed.<br><br></div>Thanks in advance for your time,<br></div><br>Regards<br><div><div><div><div><div>Lucia<br><br></div><div>ps: I'm using this squid version <br>Squid Cache: Version 3.0.STABLE18<br><br></div></div></div></div></div></div>