Search squid archive

Re: Forcing squid to fail when the whitelist doesn't exist

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

 



On 7/7/20 1:57 PM, Matthew Macdonald-Wallace wrote:
> On Tue, 7 Jul 2020 at 18:53, Alex Rousskov
>     Meanwhile, try using the newer parameters() syntax instead of abusing
>     double quotes. It should work the way you expect. Here is the
>     corresponding quote from squid.conf.documented:

>     > Squid supports reading configuration option parameters from external
>     > files using the syntax:
>     >     parameters("/path/filename")
>     > For example:
>     >     acl whitelist dstdomain parameters("/etc/squid/whitelist.txt")


> I'll check the version that we're running and see if I can do this.  I
> suspect that due to "enterprise requirements" our version won't be the
> latest, but hopefully it will support this.

AFAICT, all supported Squid versions have parameters(). You will need to
enable configuration_includes_quoted_values in squid.conf to get that
feature. IIRC, that directive was supposed to be on by default, but that
cannot happen until we fix regex support (at least).

Alex.
_______________________________________________
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