Remove index.php in Url on Litespeed

How to get my nc running without index.php? Manual under doesn’t seem to work at my hosted litespeed hosting ( 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

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