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

This is a discussion on RE: [squid-users] NCSA Authentication...help within the Squid Users forums, part of the Web Server and Related Forums category; >the passwd file is chmod 777 at this point and owned by the squid >user. I check to ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2003
Adam Aube
 
Posts: n/a
Default RE: [squid-users] NCSA Authentication...help

>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






Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0