guddl
June 14, 2016, 12:45pm
1
Hi there,
I just upgraded my ownCloud instance to nextcould. Everything is fine.
Just one question …
If I want to change my URL from https://www.example.com/owncloud to https://www.example.com/nextcloud without touching existing connected clients … What is the best way!!!
Should I put an
Alias /owncloud /var/www/html/nextcloud
in my Apache configuration or is there a better way?!?
Thanks.
Cheers,
Andreas
tflidd
August 7, 2016, 9:00am
2
Keeping two different subdirectories (owncloud and nextcloud) could be a problem. So I would move everything to the subfolder nextcloud and redirect everything pointed to owncloud there as well:
Alias /nextcloud /var/www/html/nextcloud
Redirect "/owncloud/" "https://example.com/nextcloud/"
guddl
August 7, 2016, 9:21am
3
Hi.
I only want one directory …
But you mean:
Alias /owncloud /var/www/html/nextcloud
Redirect "/owncloud/" "https://example.com/nextcloud/"
?!?!
Cheers,
Andreas
guddl
August 7, 2016, 9:29am
4
… or perhaps
Redirect permanent "/owncloud/" "https://example.com/nextcloud/"
?
Do you have something under https://example.com (root directory) … or why are you using /nextcloud or /owncloud
tflidd
August 7, 2016, 9:39am
6
Be prepared for future forks
That’s actually the way, I’m planning to go, perhaps a nice subdomain: cloud.example.org
That’s a good question, will the owncloud-client replace the URL?
guddl
August 7, 2016, 9:53am
7
You should. This is more secure because of the Cookies (Same Site) …
guddl
August 7, 2016, 12:07pm
9
Okay. Thanks
So I will use a subdomain - and then the folder name can be nextcloud or I’ll Ieave the folder name it as it is.
1 Like