Changing ownCloud URL

Hallo,

I am using ownCloud 10.0.3, installed on my web space at my provider (/apps/owncloud). The provider uses an Apache server and LiveConfig for installing and configuring apps (e.g. ownCloud).

https://example.com’ is redirected to ‘https://www.example.com’ and ‘https://www.example.com’ is redirected to ‘https://www.example.com/index.php/login’ (configured in LiveConfig, but I can’t see the path) and I can login to my ownCloud. All works fine so far.

I think the provider configured ownCloud like described here: Changing Your ownCloud URL

But I want to login to my ownCloud using the URL ‘https://www.example.com/owncloud’, not using the URL ‘https://www.example.com/’.

I have acces via ftp to config.php, but no access to Apache server:

<?php
$CONFIG = array (
  'passwordsalt' => 'xxxxxx',
  'secret' => 'xxxxxx',
  'trusted_domains' => 
  array (
    0 => 'www.example.com',
  ),
  'datadirectory' => '/home/htdocs/xxxxx/apps/owncloud/data',
  'overwrite.cli.url' => 'http://localhost',
  'dbtype' => 'mysql',
  'version' => '10.0.3.3',
  'dbname' => 'xxxxxx',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'xxxx',
  'dbuser' => 'xxxxx',
  'dbpassword' => 'xxxxx',
  'logtimezone' => 'UTC',
  'installed' => true,
  'instanceid' => 'xxxxxx',
);

I tried several changes and entries to config.php as described here: Config.php Parameters but I do not get along.

I seems that the system does not take any changes of config.php, because I can’t restart the Apache server.

What do I have to do that I can access my ownCloud via ‘https://www.example.com/owncloud’ or ‘https://www.example.com/index.php/login’?

Thank you for you help!

Best regards
Johann

I think you need access to command line.