Re: [squid-users] Configuring Squid as an authentication proxy

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 17 Nov 2007 13:45:18 +0100

On fre, 2007-11-16 at 17:20 +0800, Jacky Sze-ki Yeung wrote:
> Dear all,
>
> I would like to setup a server or program that it can act as a proxy
> and send an HTTP authentication by the proxy to a web server. The web
> server requires an HTTP authentication password to access web pages.
> Is it possible to configure a Squid Proxy server to get the web pages
> from the web server to a client machine through Squid, with the
> condition that Squid will authenticate with the web server but not the
> client browser to authenticate it? Thanks.

Yes. There is two ways Squid can add authentication to forwarded
requests

a) By the login= option when forwarding the request to a cache_peer.

b) If a url rewriter adds the login & password to the requested URL.
http://user:password@host/path/to/file

Regards
Henrik

Received on Sat Nov 17 2007 - 05:45:22 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST