Thanks for the answers. I'll look to curl.
However I could understand an access error with bad password. Or Bad user as the encoded 64 is about the : in the Authorization Basic.
When I use Postman with an encode 64 (or not) I get failure while when I do use Authorization It fails.
What ever I use postman or other API request tools I get a failure
Could you test : https://test1:email@example.com/
It should be OK on a browser
And try with postman with Authorization = Basic test1:test1
or if you want to encode it : Basic dGVzdDE6dGVzdDE=
I'll have a look to the encoded field value. I guess I've missed somthing
I've created a flexshare web and a dedicated user to access this share.
When I test using : https://[user]:[Password]@website/URL
It's OK on both Browser and postman
However when I call the same url : https://website/URL
and provide Autorization in header :
Autorization = Basic [user]:[Password]
I get a 401
When I look to ssl_error_log (with LogLevel set to Debug) I found :
[Sun Feb 14 14:41:27.379045 2021] [authnz_external:error] [pid 5998] [client 10.x.x.xx:62909] AuthExtern pwauth [/usr/bin/pwauth]: Failed (1) for user \xd7m
[Sun Feb 14 14:41:27.379105 2021] [auth_basic:error] [pid 5998] [client 10.x.x.xx:62909] AH01617: user : authentication failure for "/flexshare/yyyy/xxxx.pdf": Password Mismatch
so dispite the "password" is wrong it seams that the user is wrong too : \xd7m
How to fix that ?
As each time I look to apache basic auth it ends with the same answer : header => Autorization = Basic [User]:[Password]
I've tried with very simple user and password as 123:456 but I never get user 123 in the log....
You still have supermicro10foaxfij4.poweredbyclear.com pointed to a system called Supermicro and has no activity in the DDNS system. The system using 220.127.116.11 is called home.bensali.net and has a different DDNS subdomain (not stated for privacy reasons).
If you really wanted to recover that DDNS, you **may** be able to do it by logging onto the portal and changing the DDNS name for Supermicro which should free up the name for use on home.bensali.net (no guarantees though).
Thanks for this info.
I guess this does not raise any isue for me as my IP doesn't change for years...
I've change my DNS to the new subdomain. It's simplier.
You could remove supermicro10foaxfij4
I gues it's a previous install of ClearOS i've made years ago...
Or let me know how I can remove it.
Thanks I understand now how the issue arise.
Default domain : poweredbyclear.com
My previous DDNS was : supermicro10foaxfij4.poweredbyclear.com
And now my subdomain is pointing to my FQDN without any dot.
I did not change my clearos server just my isp so my IP :
Automatic IP update 18.104.22.168 Nov 5, 2020 15:57:28
Automatic IP update 22.214.171.124 Oct 26, 2020 10:52:28
I've changed ISP how ever the IP haven't been updated to DynDNS service.
When I whant to update it, as "subdomain" has changed I get this error :
A dynamic DNS A RECORD with this domain/URI currently exists
Why can't I retrieve my previous original subdomain ?
Thanks ind avance for you guidance/help.