In Squid config, is there any variable - %VAR
- that contains the current unique request id or anything similar?
I'll need to pass that into an external script, for instance:
# squi.conf
auth_param basic program %REQUEST_ID(???) /etc/squid/my_auth.py
This may not be an authentication script, this is just an example.
I've searched but haven't found anything about it.
There're 2 conditions in my question. In the links the solutions described are partial, though. A part of a part. That is, "how to identify a keyword", "how to redirect if ...".
But how to actually put them all together? For instance, how to merge "if a keyword then redirect via a pre-specified, random sub-proxy"? How to them add into all that "otherwise, use no proxy"?