index redirection loop

I’m trying to set up my yii2 site on a shared hosting server, but I’m always getting redirected to the the domain root when I’m trying to access index.php. It’s the same with a fresh installation of the basic template. if the domain points to the web folder, the page causes an infinite redirection loop. What can I do?

Edit: the problem was a missing php extension, which I activated now. But I still have a redirection loop when logging in at my page. The yii2 installation isn’t even at the domain root but it still redirects me somehow.

Hello m4rcel.

I have the same problem, Can you help me ?