[squid-users] squid authentication issue

From: Murray S. Kucherawy <msk@dont-contact.us>
Date: Sun, 12 Feb 2006 23:16:24 -0800 (PST)

I'm trying to get my head around proxy authentication with 2.5-STABLE7. I
believe I have it right based on what I've read in the FAQ and the sample
configuration, but the browser never asks me for a userid or password and
instead just returns a "Cache Access Denied" page.

The relevant lines from my squid.conf include:

         acl QUERY urlpath_regex cgi-bin \?

         auth_param basic program /usr/local/libexec/squid/ncsa_auth /usr/local/etc/squid/squid_passwd
         auth_param basic children 5
         auth_param basic realm Squid proxy-caching web server
         auth_param basic credentialsttl 2 hours
         auth_param basic casesensitive off

         acl password proxy_auth REQUIRED
         acl all src 0.0.0.0/0.0.0.0

         http_access allow password
         http_access deny all

I tested that ncsa_auth returns ERR and OK appropriately for accounts I've
created in that password file.

I've tried this with Mozilla and Firefox, neither of which ever ask me for
the userid and password needed to access the cache.

What am I missing?
Received on Mon Feb 13 2006 - 00:16:29 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST