Remove index.php in Url on Litespeed

How to get my nc running without index.php? Manual under https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#pretty-urls doesn’t seem to work at my hosted litespeed hosting (serverprofis.de). It just doesn’t do the job, also I’m not sure the mod_env and mod_rewrite analogs are installed and activated.

Please insert in config/config.php

'htaccess.RewriteBase' => '/',

Than you must execute (perhaps with other user or path or with OCC Web):

sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess

https://docs.nextcloud.com/server/19/admin_manual/configuration_server/config_sample_php_parameters.html

Without mod_rewrite your Nextcloud can not work. It must been activated.