We have moved some Silverstripe websites from AWS to a Plesk environment (requested by client).
One of the sites is a test website protected by this code:
BasicAuth::protect_entire_site(true, 'ACCESS_TEST_SITE');
Visiting the test website in the AWS environment would result in a HTTP authentication box popping up in the browser. Entering a valid admin username/ password would then allow access to the website.
In the Plesk environment the HTTP authentication box pops up, but entering in a valid admin username/ password results in it popping up again and again.
I'm guessing that some configuration in Plesk is causing this loop but I don't know where to start looking.
Has anyone run into this issue before/ found a solution?