Can I update roundcube when changing the URL name?

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
656
Location
The Earth
Ok, to explain the title, I have roundcube install using custombuild. I want to change the roundcube URL to something like mycube without redirecting using alias

So when people go to example.com/mycube -> they can see this
and when people go to example.com/roundcube -> there will be error 404

my solution is to rename the roundcube folder to mycube and this solve the problem.. but my question is.. if I rename this folder manually, and if I receive update for roundcube, does the update create a new folder for the upgraded version or it will patch the existing folder in mycube folder? I ask this question because I use this same method on phpMyadmin and when directadmin update phpmyadmin, it just create a new folder. How can I solve this problem.

In the manual method, I just delete old mycube folder and repeat renaming the roundcube to mycube. I hope that someone can guide me to the automatic process.
 
Last edited:
domain.com/webmail directs the user to the default mailclient listed as default in directadmin.conf.
I believe "/webmail" can be changed to almost anything you like.

domain.com/roundcube should not be used.

Also (in my case at least) if a domain has SSL (like it should these days):
https://domain.com/webmail -> stays with "https". Good.
http://domain.com/webmail -> directs to "https". Good.
http://domain.com/roundcube -> stays with "http". Not good.

Most visitors can still have websites bookmarked with "http" in their browsers, so the server should always redirect them to the https-version instead.
This doesn't seem to happen with a directlink to http://domain.com/roundcube
 
Last edited:
Sorry if I confuse you. I'm little confuse about the option webmail_client and webmail_link

I change both to :

webmail_client = mycube
webmail_link = mycube

I do ./build update
and rewrite conf

restart directadmin

and still the link roundcube is there. also in the skins. What is the purpose of the above 2 options? let say I have another webmail client call mycube (not official from roundcube) and the folder is located at /var/www/html/mycube.. is it correct to set webmail_client = mycube. ?

Is it a good idea to rename the official roundcube folder to another name (in case for changing the url)?
 
Last edited:
it's ok.. that was easy. i'm so dumb.

i just put alias for roundcube and redirect to 404

Thank you.
 
Back
Top