Re: [squid-users] external_acl_type with http request header question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 6 May 2005 23:15:43 +0200 (CEST)

On Thu, 5 May 2005, Ryan Lamberton wrote:

> I have a question on external_acl_type -- I think. I have Squid 2.5 stable 3
> setup and use propel accelerator to pass the header HTTP_X_PUN with the
> username that authenticated in propel. What I want to have happen is that
> username passed from Propel to be used by squid for proxy_auth.

Ok. As you suspect this can (almost) be done with external_acl_type.

What you need is

a) A silly helper echoing the username back to Squid. This helper will be
given the username from the header as input by Squid.

b) You need to use the ident acl, not proxy_auth. And should also disable
client side persistent connections when doing this (the 2.5 implementation
piggy backs on the ident user name which is connection oriented...)

Regards
Henrik
Received on Fri May 06 2005 - 15:15:46 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT