@enigma84 Access the htaccess from the File Manager and not directly on the server. It's better/easier that way - https://docs.cloudron.io/apps/#file-manager

For nextcloud, you will (confusingly) see two files - htaccess and .htaccess. Do not touch .htaccess since it is for protecting the data directory (/app/data). You can try editing htaccess.