This question relates to the FAQ issue The requested uri(\/login) cannot be processed by the script ‘\/owncloud\/index.php’.
My oC instance has long been available at
my.domain/owncloud/. Lately, I've considered moving it to its own sub-domain, e.g.,
However, I'm not the sole user of this instance, and I would like to give users time to acclimate at their own leisure; that is, having it accessible from both addresses for a time.
This is where I run into the issue described in the FAQ; oC's
/config/config.php has two directives using
mod_rewrite to insure visitors find it in the proper directory inside the web-server's directory tree, namely
'overwrite.cli.url' => 'http://example.com/owncloud', 'htaccess.RewriteBase' => '/owncloud',
While making the change to
/ is easy enough, there's no obvious way of enabling a dual directory structure concurrently. My only thought is to remove those directives and rely solely on my web server's configuration files to
Rewrite the address (which I prefer anyway), but I suspect
occ might not like that (and I need it to properly set the
.htaccess files throughout the instance, not to mention the occasional site maintenance).
Operating system: Ubuntu Xenial Server
Web server: Apache 2.4.17
PHP version: 7.0.15
ownCloud version (see ownCloud admin page): 9.1.5