Search squid archive

Simple REGEX not working...

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

 



Hello,

I have the following in my config file:

    acl user_allowed url_regex ^https://example\.com/

but surfing to that site fails (authentication works fine).  My ultimate goal is to have an RE comparable to the PCRE of:

    ^https?:\/\/.*?example\.com\/

While the PCRE works just fine in other tools (my own scripts, online, etc.), I was unable to get it to work within Squid3.  As I stripped away pieces of the RE in the config file, the only RE which seemed to work was:

    example\.com

...not even having the ending '/'.  However, this obviously does not meet my needs.

I'm on Debian 10 and am unable to determine which RE library Debian compiled Squid3 against (I've got a Tweet out to them to see if they can point me in the right direction).

Ultimately, I would like to get Squid to use PCREs.

Ideas?

Thanks!

--David
_______________________________________________
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