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?

Reply via email to