RE: [squid-users] Browser fails to prompt for authentication

From: Chris Berry <compjma@dont-contact.us>
Date: Thu, 19 Jun 2003 11:09:18 -0700

> > From: Fred Evans [mailto:fred@querymagic.com]
> > I made sure that the password file is owned by the user squid runs as
> > and is readable by that user.
> >
> > Prior to this installation of squid there was no transparent proxy. The
> > browsers were not configured for proxying at all until I configured them
> > to work with this install of squid. Further, I tested on IE and Mozilla
> > for windows and Mozilla for linux.
> >
> > The config is as follows:
> >
> > auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid.passwd
> > auth_param basic children 5
> > auth_param basic credentialsttl 2 hours
> >
> > acl users proxy_auth REQUIRED
> > http_access allow all users

Well, I haven't tried using the auth_param entries so I'm not sure what
that's about, but on my system when you use proxy_auth you also have to use
authenticate_program check here:

http://www.squid-cache.org/Doc/FAQ/FAQ-23.html

(look at the last line in 23.1)

Have you tried squid -k parse?

You may wish to change your http_access line to:

http_access allow users

Since the all part will always be true.

I would also put this right afterwards:

http_access deny all

Chris Berry
compjma@hotmail.com
Systems Administrator
JM Associates

"Within every man beats a heart of darkness." --The Shadow

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Received on Thu Jun 19 2003 - 12:09:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:27 MST