[squid-users] Can not pass Squid basic authentication
birbird at qq.com
Thu Oct 8 14:50:59 UTC 2015
I have setup basic authentication for Squid, but I can not get passed from browser, just asked to inpu user/password time and time again.
I was stuck at, the command
dose not give any output. I think it means squid can not get the authentication info. But I have no idea what to do next.
I create my password by
htpasswd -d /etc/squid/squid_passwd dan
I also tried -m for htpasswd, it do generate different encrypted text, but still can not be recognized by /usr/lib64/squid/ncsa_auth.
My squid config is:
http_access deny !Safe_ports
http_access deny CONNECT !SSL_Ports
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/squid_passwd
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
Could anyone please tell what's wrong with this.
Any help will be highly appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-users