[squid-users] regex for normal websites
Amos Jeffries
squid3 at treenet.co.nz
Wed Jul 27 11:19:38 UTC 2022
On 27/07/22 21:54, robert k Wild wrote:
> hi all,
>
> think i got it right but just want to double check with you guys
>
> so in my "ssl::server_name" i had
> .adobe.com
>
> that worked but i want to mix normal website and regex websites together
What do you mean "normal website" ? and "regex websites" ?
> so i just have one list for all
>
> i now have this for "ssl::server_name_regex"
> ^.*adobe.com$
>
> it works, so im guessing its right
>
Many things "work" in regex when they are not right.
As Matus said the dot in the domain needs to be escaped:
^.*adobe\.com$
Also, the "^.*" in your pattern does nothing useful, it should be omitted.
Leaving you with the pattern:
adobe\.com$
HTH
Amos
More information about the squid-users
mailing list