RE: Feature: Display proxy-auth user name on error page

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 12 Jul 2001 09:46:04 +1000

 -----Original Message-----
> From: Sean Burford [mailto:sean.burford@adelaide.edu.au]
> Sent: Wednesday, July 11, 2001 9:53 AM
> To: squid-dev@squid-cache.org
> Subject: Feature: Display proxy-auth user name on error page
>
>
> Hi,
>
> I would like to be able to output the request proxy auth user name on
> the error page, so that I can determine the cause of the failure (ie,
> check the blocked access flag for the user) using a CGI and give the
> user a useful error page.
>
> The attached patch (against 2.2 stable5, also works with 2.4 stable1)
> adds a %r variable, that implements what I have suggested above.

Squid 2.5 has a rewritten, modular authentication framework. So your
patch won't work for 2.5. However, its only a minor difference to get
the username, so I'll throw together an updated patch for you.

Rob
 
Received on Wed Jul 11 2001 - 17:56:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:06 MST