RE: [squid-users] NCSA Authentication...help

From: Adam Aube <aaube@dont-contact.us>
Date: Fri, 11 Jul 2003 18:21:32 -0400

>the passwd file is chmod 777 at this point and owned by the squid
>user. I check to make sure I had auth_param children 5 and I upped it
>to 15.

>Not sure what is causing this.... the output of the ps -ax line was "1"
>and here is my conf file, it is on an internal lan and I am only using
>it to test if something works with a authenticated proxy.

For some reason your ncsa_auth children are dying en masse. Check
the cache.log for details. Also, try setting the permissions on the
password file to 644.

>http_port 3128
>hierarchy_stoplist cgi-bin ?
>acl QUERY urlpath_regex cgi-bin \?
>no_cache deny QUERY
>auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
>auth_param basic children 50
>auth_param basic children 5
>auth_param basic realm Squid proxy-caching web server
>auth_param basic credentialsttl 2 hours
>refresh_pattern ^ftp: 1440 20% 10080
>refresh_pattern ^gopher: 1440 0% 1440
>refresh_pattern . 0 20% 4320
>acl manager proto cache_object
>acl localhost src 127.0.0.1/255.255.255.255
>acl to_localhost dst 127.0.0.0/8
>acl SSL_ports port 443 563
>acl Safe_ports port 80 # http
>acl Safe_ports port 21 # ftp
>acl Safe_ports port 443 563 # https, snews
>acl Safe_ports port 70 # gopher
>acl Safe_ports port 210 # wais
>acl Safe_ports port 1025-65535 # unregistered ports
>acl Safe_ports port 280 # http-mgmt
>acl Safe_ports port 488 # gss-http
>acl Safe_ports port 591 # filemaker
>acl Safe_ports port 777 # multiling http
>acl CONNECT method CONNECT
>acl foo proxy_auth REQUIRED
>http_access allow foo
>http_access deny all
>http_access allow manager localhost
>http_access deny manager
>http_access deny !Safe_ports
>http_access deny CONNECT !SSL_ports
>http_access allow localhost
>http_access deny all
>http_reply_access allow all
>icp_access allow all
>coredump_dir /var/spool/squid

Remove one of the auth_param basic children lines from squid.conf
- you've got 2. Your http_access lines are a little out of order,
but should work.

Unless cache.log reveals something, I don't know what else to check.

Adam
Received on Fri Jul 11 2003 - 16:27:33 MDT

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