Re: [squid-users] NCSA Authent ...

From: ROUTIER Gilles <gilles.routier@dont-contact.us>
Date: Wed, 12 Nov 2003 18:00:11 +0100

Like This ?

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 10

acl sitesLoc dstdomain "/etc/squid/sitesLocaux"
acl sitesNat dstdomain "/etc/squid/sitesNationaux"

acl UsersSitesLoc proxy_auth "/etc/squid/UsersSitesLocaux"
acl UsersSitesNat proxy_auth "/etc/squid/UsersSitesNationaux"

http_access allow UsersSitesLoc sitesLoc
http_access allow UsersSitesNat sitesNat

That's Correct ?

Adam Aube a écrit :

> > How to make with authentification NCSA so that certain users
> > have certain rights and others not ?
>
> Use the proxy_auth and/or proxy_auth_regex acl types. REQUIRED is just
> a special wildcard for proxy_auth; one or more specific usercodes can
> be specified instead.
>
> This will work with any form of authentication, not just basic with
> ncsa_auth.
>
> Adam
Received on Wed Nov 12 2003 - 10:01:28 MST

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