Search squid archive

Re: dynamic messages from acl helper program

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

 



On Wed, Jan 20, 2016 at 3:34 AM, Sreenath BH <bhsreenath@xxxxxxxxx> wrote:
>
> We are using acl helper to authenticate users. Squid allows a template
> file that will be used to send a custom error message when the ACL
> sends an "ERR" string back to squid.
>
> In our case the acl helper contacts another web service for authentication.
> Is there a way to send the message we get from the web service (or any
> thing that changes from request to request) back to the client.
>
> Essentially what we are looking for is a way to change the error
> message at run time.

If I understood correctly, what you want is covered by the external
acl keyword "message", which will be replaced into %o in the error
pages.

Please read the docs:
http://www.squid-cache.org/Doc/config/external_acl_type/
_______________________________________________
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