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.

What was exactly the solution to achieve this?
Posts above are unclear what to do step-by-step?
I’m on IONOS maybe I can do the same?
What do you think?

change config.php and execute occ-command.

As said I do not understand exactly and I don’t want to ruin it!
Pls be so kind and give me exactly what to do where

You must add this line in config/config.php

'htaccess.RewriteBase' => '/',

and the execute the occ-command.
On error you can delete the line.

Have you ever execute occ-commands?
Do you have shell access?

THX for asking - NO
I’m afraid of ruining something in my website when putting in commands.
I also have a website there and do not want to destroy it!
Therefor my question?

How to login to the webspace with putty and hit the next cloud installation not other things?

I found This:

Connecting to Your Webspace via Secure Shell (SSH) using PuTTY - IONOS Help

with this data I log in to the whole webspace can I now run The commands

Without touching something else than Only the Nextcloud installation?

Has www-data php to be replaced with something individual for my installation?

Excuse this simple question, but I really do not know how-to?

Hope for patience and step-by-step instructions?


I think then you must use this command:

php /path/to/your/nextcloud/occ maintenance:update:htaccess

And i think if it does not work it does not break your installation.
Test it after edit config/config.php

But perhaps there is also no config/config.php .
Then you must ask your provider.

Perhaps someone from Nextcloud GmbH reads this.
I do not like “Index.php” in the path. Does Microsoft 365 use this stuff?
Here my old issue .