[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] dynamic messages from acl helper program
From:       Alan <lameventanas () gmail ! com>
Date:       2016-01-21 5:35:05
Message-ID: CAFKaCCT0VnijC8FV9xmiK3kgXW6MGYuhQ+CbeDN94UQaoAonGw () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jan 20, 2016 at 3:34 AM, Sreenath BH <bhsreenath@gmail.com> 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@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic