Error 500 on VPS server

Hello,

So I’m trying to run a Grav website on my VPS server. However I’m getting an error 500 when I try to load it.

I tried files and folders permsissions changing, I tried the options - indexes and the RewriteBase changing, I did everything I’ve found on the documentations and searched a lot elsewhere but nothing works.

My VPS runs Ubuntu 18.04.5, Apache 2.4.46 and I tried both PHP 7.4.15 and PHP 8.0.2 and it’s hosted by OVH.

So I’m out of idea and I hope someone can help about this issue.

What do server logs say?