RE: [squid-users] Problem on my proxy_auth

From: Peter Kassies <p.kassies@dont-contact.us>
Date: Mon, 11 Jun 2001 11:38:20 +0200

  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?

  Sorry, can't help you with this one.

   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

  Well, I think this should be:
  authenticate_program /usr/local/squid/bin/ncsa_auth
/usr/local/squid/etc/passwd

  I don't have an authenticate_options

   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

  You forgot a line:
  acl users proxy_auth REQUIRED

  Plz, read http://www.squid-cache.org/Doc/FAQ/FAQ-10.html
  for proper configuration.

  Peter

  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 - 03:38:36 MDT

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