[squid-users] squidclient -h 127.0.0.1 -p 3128 mgr:info shows access denined
Jonathan Lee
jonathanlee571 at gmail.com
Thu Jul 11 20:00:37 UTC 2024
Ok I sent output prior email that shows the right path but says access denied
Sent from my iPhone
> On Jul 11, 2024, at 12:59, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> 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
> _______________________________________________
> 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