[squid-users] wildcard for numbers in url whitelisting

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Jul 15 11:06:35 UTC 2021


>On Thu, 15 Jul 2021, 11:53 ‪Amos Jeffries‬, <squid3 at treenet.co.nz> wrote:
>> You will need to change to ssl::server_name_regex ACL type to use regex
>> patterns.
>>
>> Also, take care that all values are valid regex pattern and characters
>> which are special in regex are properly escaped. Eg the dots.

On 15.07.21 11:59, robert k Wild wrote:
>Thanks Amos, if I change to that acl, I imagine I will need to redo all my
>whitelist files
>
>Ie
>
>.Google.com
>
>Will be
>
>.\google\.com
>
>Is that correct?

yes, so I recommend you to avoid regexes as much as possible and better use
two access directives.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
A day without sunshine is like, night.


More information about the squid-users mailing list