[squid-users] 回复: Can not pass Squid basic authentication

Amos Jeffries squid3 at treenet.co.nz
Wed Oct 7 01:29:19 UTC 2015


On 5/10/2015 4:41 p.m., birbird wrote:
> Hi Amos, thanks a lot for your reply.
> 
> 
> I have tried both -m and -d for htpasswd, they do generate different encrypted text, but none of them can be recognized by /usr/lib64/squid/ncsa_auth.
> I am still stuck at here.
> 
> 
> By the way, I just paste the diff part of my config between the default config. So my config contains these 2 lines:
>   http_access deny !Safe_ports
>   http_access deny CONNECT !SSL_Ports
> 
> 

Okay. -m should have worked. All I can suggest then is trying to get a
newer version of Squid. The NCSA helper is now called basic_ncsa_auth.

Amos



More information about the squid-users mailing list