Re: [squid-users] squid authentication issue

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Mon, 13 Feb 2006 10:08:05 +0100

> 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?
>

  Your are not allowing any source addresses , try

                         http_access allow all password

  M.
Received on Mon Feb 13 2006 - 02:08:12 MST

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