Re: [squid-users] Custom Error Files

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 09 Apr 2007 12:31:06 +0200

sön 2007-04-08 klockan 09:04 -0500 skrev Kevin Gordon:
> Hey,
> Quick Question. I noticed in the custom error section of the FAQ it
> mentioned being able to use %m to print error messages returned by a
> custom authentication helper. My question is, how do I return an
> error, other then ERR from my auth helper.

        === Parameters for the basic scheme follow. ===

        "program" cmdline
        Specify the command for the external authenticator. Such a program
        reads a line containing "username password" and replies "OK" or
        "ERR" in an endless loop. "ERR" responses may optionally be followed
        by a error description available as %m in the returned error page.

Which means

ERR followed by whatever message you want to display\n

Regards
Henrik

Received on Mon Apr 09 2007 - 04:31:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT