I am trying to implement custom authenticator for Squid by having something like
auth_param basic program my_authenticator.sh
/etc/squid3/squid.conf file. It all works fine, but I want to make an improvement.
The responsibility of
my_authenticator.sh is quite simple: Squid sends user name and password, and expects either
The improvement I want to make is to explain users why they have been denied the service, e.g.
ERR You have been browsing too much, come back in 24 hours
According to Squid documentation, this is quite possible:
"ERR" responses may optionally be followed by a error description available as %m in the returned error page.
Can anyone explain what does
%m stand for? I have been trying to print a simple text after
ERR (without quotes, as shown above) but this text doesn't appear in the browser pop up. Any ideas?