Updating .htaccess - alternatives to CLI


I finally got everything working on my RaspberryPi. This involved setting up pretty URLs, which I managed to do by adding an entry in the config.php file:

'htaccess.RewriteBase' => '/nextcloud',

and running this command:

sudo -u www-data php occ maintenance:update:htaccess

My next step is to recreate this setup on a shared host. As it happens, the host does provide SSH, but I’d still like to know what alternatives there are to using the occ command.

Thanks again,


Restart web service :slight_smile:

Ok thanks, I’ll see how I go. :slight_smile: