Search squid archive

Re: regex for normal websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux