No context found for URI

#1
Hello

I have been struggling for a long time to get the CMS SilverStripe working with OLS. I’ve tried versions 3.71, 4.2 and 4.5.

I see in the logfile only "No context found for URI: ['/public/index.php]."

In docroot is a .htaccess with the following content:
RewriteEngine On
RewriteRule ^(.*)$ public/$1
Seems to work so far, if I call the domain with /index.php at the end the index.php, which is in located in the folder "public", is loaded. If I call the domain without index.php an error 404 appears. Same if I try to pass SilverStripe build commands (/dev/build).
Does anyone have any idea what this could be? I think it's the "modrw".

For apache it needs mod_rewrite and "AllowOverride All".
Requirements: https://docs.silverstripe.org/en/4/getting_started/server_requirements/

I’m using OpenLiteSpeed (DirectAdmin Edition) 1.7.12 on CloudLinux 8 with PHP 7.4.
In the Docs (https://openlitespeed.org/kb/migrate-apache-rewrite-rules-to-openlitespeed/) I saw that the rules have to be entered in the GUI, as I use DA version the GUI is not usable.
How can I as an end user, without root rights and OLS admin, access create rewrite rules and change them if necessary?

With Wordpress I have no such problems and also various rules in a .htaccess file.

I am grateful for any tip, Thanks
 
Top