Search squid archive

Re: Configuring Squid to pass through HTTP authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>
> I manage a Squid installation that acts as a proxy (but not cache) for
> a set of HTTP servers.  I recently encountered a need to password
> protect a directory full of content using HTTP authentication
> (preferably digest, but open to basic if necessary).  For various
> reasons, it's more convenient to perform the authentication on the
> proxied servers rather than in Squid.  Is there a way to configure
> Squid to pass authentication headers through to the proxied servers?
> Right now, it's stripping authentication-related headers set by
> clients.  I tried using the "cache deny" directive with a
> "urlpath_regex" ACL matching the protected directory, but it made no
> difference.
>
> Thanks.
>

For reverse proxies you add the option "login=PASS" (exact string) to
their cache_peer lines.

For regular proxies web authentication is always passed to the web
servers. or you may have some config stripping them explicitly.

Amos


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux