Hi, Siegbert!
 
//shy 
I have read the manual of htpasswd, 
I think if my squid.conf is like this, 
--------
acl foo proxy_auth REQUIRED
acl bar proxy_auth lisa sarah frank joe
acl daytime time 08:00-17:00
acl all src 0/0
http_access allow bar
http_access allow foo daytime
http_access deny all
--------
I could use the following commands to 
create the password and passwd file for the 
users. 
--------
/usr/local/apache/bin/htpasswd -c /usr/local/squid/etc/passwd lisa
/usr/local/apache/bin/htpasswd /usr/local/squid/etc/passwd sarah
/usr/local/apache/bin/htpasswd /usr/local/squid/etc/passwd frank
/usr/local/apache/bin/htpasswd /usr/local/squid/etc/passwd joe
--------
Am I correct? 
( I am using Red Hat Linux 7.2, Kernel 2.4.7-10 and 
Squid 2,4 Stable 4. ) 
Cheers, 
Erik 
-----  原文  -----
From: Siegbert Laukas 
To: 'maillist151@sohu.com' 
Subject: AW: ??:AW: [squid-users] ??:Re: [squid-users] Auth problem  of Sq
        uid.
Sent: Sun Jul 07 16:53:26 CST 2002
> It's call "htpasswd" not "hppasswd" !!!!!
> 
> please try again.
> 
> search under ../../apache/bin
> 
> Cheers
> Siegbert
> 
> -----Ursprüngliche Nachricht-----
> Von: maillist151@sohu.com [mailto:maillist151@sohu.com]
> Gesendet: Sonntag, 7. Juli 2002 10:49
> An: Siegbert Laukas
> Cc: squid-users@squid-cache.org
> Betreff: ??:AW: [squid-users] ??:Re: [squid-users] Auth problem of Squid.
> 
> 
> Hi, Siegbert! 
> 
> I search "hppasswd" on www.apache.org but failed. 
> Can I install "hppasswd" without installing Apache? 
> 
> Where can I find more details about "hppasswd"? Can you 
> give me a more precise URL? 
> 
> Cheers, 
> Erik 
> 
> -----  原文  -----
> From: Siegbert Laukas 
> To: 'maillist151@sohu.com' 
> Subject: AW: [squid-users] ??:Re: [squid-users] Auth problem  of Squid.
> Sent: Sun Jul 07 15:30:18 CST 2002
> 
> > htpasswd is a part of apache (web-server)
> > 
> > You can create your passwd file for aquid-auth with this.
> > 
> > see: http://www.apache.org
> > 
> > by
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: maillist151@sohu.com [mailto:maillist151@sohu.com]
> > Gesendet: Sonntag, 7. Juli 2002 09:25
> > An: hno@marasystems.com
> > Cc: squid-users@squid-cache.org
> > Betreff: [squid-users] ??:Re: [squid-users] Auth problem of Squid.
> > 
> > 
> > Hi, Henrik! 
> > 
> > Where can I find information about hppaasswd? 
> > Can you give me a URL? 
> > 
> > I read the the part 23 of FAQ, 
> > "23. Authentication", I think I should follow 
> > the following steps to enable Squid auth ablility. 
> > 
> > 1. install NCSA
> > 2. install hppasswd
> > 3. set squid.conf like this 
> > 
> > --------
> > acl foo proxy_auth REQUIRED
> > acl bar proxy_auth lisa sarah frank joe
> > acl daytime time 08:00-17:00
> > acl all src 0/0
> > http_access allow bar
> > http_access allow foo daytime
> > http_access deny all
> > --------
> > Are the orders correct? Have I missed anything or 
> > something is wrong? 
> > 
> > Another question, what is the function of hppasswd, 
> > can you give me a simple explanation? 
> > 
> > Cheers, 
> > Erik 
> > 
> > -----  原文  -----
> > From: Henrik Nordstrom 
> > To: maillist151@sohu.com 
> > Cc: squid-users@squid-cache.org 
> > Subject: Re: [squid-users] Auth problem  of Squid.
> > Sent: Sat Jul 06 23:47:18 CST 2002
> > 
> > > On Saturday 06 July 2002 16.12, maillist151@sohu.com wrote:
> > > 
> > > > I run the command "make" and "make install" in dir
> > > > auth_modules/NCSA to install the auth module.
> > > 
> > > Right. my error. 2.4 installs auth helpers into bin.. Braindamage 
> > > after looking to much at later Squid versions..
> > > 
> > > > How can I ckeck whether I have installed firewalling
> > > > rules on the Squid server?
> > > 
> > > Have you been playing with iptables/ipchains or other firewall tools?
> > > 
> > > > The passwd file does not exist in /usr/local/squid/etc
......
Received on Sun Jul 07 2002 - 04:02:49 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:11 MST