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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 10 May 2005 22:54:00 +0200 (CEST)

On Tue, 10 May 2005, Ryan Lamberton wrote:

> It works! Thank you! Just one more question (more in the programming area).
> The accelerator sends the username in base64. Can I use the ident.sh to
> convert it to "English" before echoing it back?

Yes.

> If so, what I would I use for the code to accomplish it.

I leave that as an programming excersice for you to solve. Shell scripts
is not the most suitable for this kind of transformations and the shell
helper should be seen mostly as an illustration, not as the ultimate
solution.

redirector helpers to Squid is quite commonly written in perl, where this
kind of transformations is rather trivial.

Regards
Henrik
Received on Tue May 10 2005 - 14:54:02 MDT

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