[squid-users] Problem on my proxy_auth

From: walter <walter@dont-contact.us>
Date: Mon, 11 Jun 2001 17:05:30 +0800

i follow the step by step procedure in the FAQ ( http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#ss19.6 ) but the only thing i miss is to "patch" the Squid, is it necessarry? if yes what will i patch? and what to do? i also download 'htpasswd.c' and put it on my /usr/local/src directory, how to make a password file & how to use htpassword.c?
im using redhat 6.2 /squid-2.2.STABLE2

# this is my simple proxy_auth pls. correct me if you find it wrong! thank you.
authenticate_programs /usr/local/bin/ncsa_auth
authenticate_options /usr/local/squid/etc/passwd
acl myIP src x.x.x.x
acl myNet src x.x.x.x
acl passwd proxy_auth
http_access allow myNet passwd
http_access allow myIP

after i change my squid.conf i try to run squid -k reconfigure then i got this error:

[root@super walter]# /usr/local/squid/bin/squid -k reconfigure
2001/06/11 16:15:41| parseConfigFile: line 28 unrecognized: 'authenticate_option
s /usr/local/squid/etc/passwd'
2001/06/11 16:15:41| aclParseAclLine: IGNORING invalid ACL: acl passwd proxy_aut
h
2001/06/11 16:15:41| squid.conf line 51: http_access allow myIP passwd
2001/06/11 16:15:41| aclParseAccessLine: ACL name 'passwd' not found.

im sorry for many questions, im only new user and hope that you will help me for my almost 2weeks problem.

Walter :)

                                   
Received on Mon Jun 11 2001 - 02:53:56 MDT

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