I was working on the backend of our Magento 2 server and was trying to adjust the layout of our home page. I’m now at a point where it gets stuck loading the admin panel and when I try to navigate through the menus I am transported back to the login page. I am getting this error when it happens
[access_compat:error] [pid 30135:tid 140617489147648] [client ***.***.***.***:0] AH01797: client denied by server configuration: /home/a7cf7ac0/****.***web host***.net/html/pub/.well-known, referer binance.com
From reading online its my understanding that it could be caused by a .htaccess file denying access permissions somewhere, and that I might need to contact our webhosting service. But I don’t understand why suddenly I am being denied access.
At first I thought it was the settings I was changing in the admin panel, (which were under Stores->Configuration->Catalog) but I don’t see how those could be related and I cannot go back and revert my changes because when I navigate the Stores I am immediately transported to the login screen.
I’ve already tried,
Removing cache and generated files
Disabling and reenabling cache
Running setup:upgrade and setup:di:compile
Redeploying content
I’ve also tried to look for the file mentioned in the error ../html/pub/.well-known but I can not find it (even with ‘ll -a’)
Any ideas why I could have suddenly been denied access? Or any thoughts on what I should do next?