[squid-users] squidclient -h 127.0.0.1 -p 3128 mgr:info shows access denined

Amos Jeffries squid3 at treenet.co.nz
Thu Jul 11 19:59:14 UTC 2024


On 12/07/24 05:27, Jonathan Lee wrote:
> Thanks what about the password is it set with@ or -p where would I place that?

Neither. It is set with -W .

Amos


> Sent from my iPhone
> 
>> On Jul 11, 2024, at 10:17, Amos Jeffries wrote:
>>
>> It is very relevant. As Matus already mentioned, both -U and -W.
>>
>>
>> squidclient -v -U admin -W cachemgr_password mgr:info
>> Request:
>> GET http://localhost:3128/squid-internal-mgr/info HTTP/1.0
>> Host: localhost:3128
>> User-Agent: squidclient/6.10
>> Accept: */*
>> Authorization: Basic YWRtaW46Y2FjaGVtZ3JfcGFzc3dvcmQ=
>> Connection: close
>>
>>
>> squidclient -v -U admin -W cachemgr_password /squid-internal-mgr/info
>> Request:
>> GET /squid-internal-mgr/info HTTP/1.0
>> Host: localhost:3128
>> User-Agent: squidclient/6.10
>> Accept: */*
>> Authorization: Basic YWRtaW46Y2FjaGVtZ3JfcGFzc3dvcmQ=
>> Connection: close
>>
>>
>> Cheers
>> Amos
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> https://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list