L
L
littleguga2015-10-15 13:49:35
Squid
littleguga, 2015-10-15 13:49:35

What is wrong with squid3 configuration?

squid.conf:

auth_param basic program /usr/lib/squid3/basic_ncsa_auth -c /etc/squid3/passwords
auth_param basic realm proxy
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
http_port тутip:3128

In the browser, it asks for a login / password, but if you enter it correctly, it opens the form again, sometimes it instantly reopens the form. What could be the problem?
Thanks in advance for your helpful answer!
In cache.log:
Usage: ncsa_auth <passwordfile>
2015/10/15 13:46:13| WARNING: basicauthenticator #1 exited
2015/10/15 13:46:13| Too few basicauthenticator processes are running (need 1/20)
2015/10/15 13:46:13| Starting new helpers
2015/10/15 13:46:13| helperOpenServers: Starting 1/20 'basic_ncsa_auth' processes
2015/10/15 13:46:16| Pinger exiting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadz Goldman, 2015-10-15
@littleguga

Try this:

auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/etc/password
auth_param basic children 5
auth_param basic realm Mega proxy
auth_param basic credentialsttl 5 hours
auth_param basic casesensitive off
authenticate_cache_garbage_interval 1 hour
authenticate_ttl 5 hours

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question