Re: Adding custom headers to requests / authorizing proxy auth on higher level proxies

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sat, 29 Jul 2000 08:50:22 +1000

If what you want is the basic authentication on your upstream proxy, on your
parent line add
login=user:password
with a valid user and password.

ie
cache_peer xx.xx.x.xxx parent 3128 3130 login=cache2:somepassword

and squid will create that header for you.
Rob

----- Original Message -----
From: "Peter Gervai" <grin@tolna.net>
To: <squid-users@ircache.net>
Sent: Saturday, July 29, 2000 7:50 AM
Subject: Adding custom headers to requests / authorizing proxy auth on
higher level proxies

> Hello,
>
> I have read the faq, browsed the archieves, dejanews, google,
> and sacrified a black rooster on full moon but wasn't able to
> find the answer, maybe someone can help me.
>
> I need to access an upper level proxy which needs authorization,
> and I want squid to authorize every requests it forwards to the
> parent/sibling, and prevent the users to even *know* about this
> authorization.
>
> I seems to be simple: I need to add a static header line to every
> request, like "Proxy-Authorization: Basic 3874623846723648236482",
> but currently Squid does not seem to be able to add/update
> custom HTTP headers.
>
> Anyone met this problem before? Anyone met a solution? :)
>
> I tried to check the source, I almost caught the logic, but got
> lost in no time. Maybe someone crafted some patch already, or
> it's already in just I miss the solution.
>
> (Please CC the mail on my personal email, too, I read the
> list but less frequently. Thanks.)
>
> regards,
> Peter
>
>
Received on Fri Jul 28 2000 - 16:47:36 MDT

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