The instructions I gave only adds ncsa_auth to the already installed
Squid. If you are happy with the Squid binary in your RPM there is no
need to replace that.
-- Henrik Nordstrom Squid hacker Ben Mckellar wrote: > > Thanx for the info.. i have posted another mail b4 i read this one.. > please ignore that. > > Well my option now is to get the tar.gz as previously i ran the rpm which > does not include the ncsa module unfortunately.. > > So is my only option to wipe the rpm and install it from a tar.gz ? > > ----------www.HOTLINESUPPORT.com---------- > Ben Mckellar > Hotline Support Pty Ltd > Ph :(02) 8904 9777 Fax:(02) 8904 9666 > ----------www.HOTLINESUPPORT.com---------- > > -----Original Message----- > From: Henrik Nordstrom [mailto:hno@hem.passagen.se] > Sent: Friday, 27 October 2000 6:42 AM > To: Ben Mckellar > Cc: Squid Users (E-mail) > Subject: Re: [SQU] authentication - stress > > Ben Mckellar wrote: > > > #Authentication program > > authenticate_program /usr/bin/htpasswd /root/squidpass > > htpasswd can only generate the password file. It is not a password > validator. > > For htpasswd generated password files, use ncsa_auth from the Squid > distribution. > > Please note that for ncsa_auth your must make sure that the htpasswd > generated password file uses the crypt() algorithm (default on most > UNIX:es.. can be forced with the -d option on modern versions of > htpasswd) > > > If anything needs to be compiled can you pleases gimmme some detailed > > isntructions on howto do it on redhat, cause i noticed a lot of the tar.gz > > stuff screws up. > > fetch squid-2.3.STABLE4.tar.gz (or mostly any other Squid source > version). > > tar zxvf squid-2.3.STABLE4.tar.gz > cd squid-2.3.STABLE4 > ./configure > make > cd auth_modules/NCSA > make > cp ncsa_auth /usr/lib/squid/ > > (only the last cp step needs to be done as root, and all the > configuration changes below. The configure and make steps can be done as > a ordinary user) > > squid.conf: > > authenticate_program /usr/lib/squid/ncsa_auth /etc/squid/passwd > acl password proxy_auth REQUIRED > > ... (the default stuff distributed in squid.conf) > http_access allow password > http_access deny all > > Then create and populate /etc/squid/passwd using htpasswd (with the -d > option if your copy of htpasswd defaults to using MD5 hashes).. > > -- > Henrik Nordstrom > Squid hacker -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Fri Oct 27 2000 - 18:20:50 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:01 MST