[squid-users] acl url_regex on squid3 is not working using an online tested regular expression

2017-09-26 Thread ppmartell
As Mr. Alex Rousskov suggested, the problem was the regex itself. He provided me a modified regex (more simple) and now the filter is working. My regex: ((?=.*\biphone\b)|(?=.*\bprod\b)).*\.facebook\.com(\:|\d|) Alex's regex: \b(iphone|prod)\b.*\.facebook\.com Using https://regex101.com/ bot

[squid-users] acl url_regex on squid3 is not working using an online tested regular expression

2017-09-25 Thread ppmartell
I was asked to block Facebook access from 8:00am to 3:00pm for almost all users but them are using **alternative Facebook URLs** to access the social network anyway. This is consuming a lot of our low bandwidth and we can't even work. I decided to design a **regular expression (regex) to parse t