4 Feb 2022, 16:37

@peopleinside thanks for your help! The dev mode was already enabled, and I was basically digging through the logs trying to understand the issue.
Anyways, it seems to be the htaccess issue, not something PHP-wise.

Accidentally, I've got everything working by applying part of the default WordPress htaccess file 🤤

Maybe this will help somebody. Here is my public/.htaccess file:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
</IfModule>

Thanks a lot! I think this can be closed as Solved 🙂