Results 1 to 4 of 4

Thread: Can I update roundcube when changing the URL name?

  1. #1
    Join Date
    Jul 2016
    Posts
    25

    Can I update roundcube when changing the URL name?

    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 by maxi32; 04-27-2018 at 11:45 PM.

  2. #2
    Join Date
    Jun 2013
    Location
    Dutch Mountains
    Posts
    278
    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 by BBM; 04-28-2018 at 01:59 AM.

  3. #3
    Join Date
    Jul 2016
    Posts
    25
    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 by maxi32; 04-28-2018 at 08:51 PM.

  4. #4
    Join Date
    Jul 2016
    Posts
    25
    it's ok.. that was easy. i'm so dumb.

    i just put alias for roundcube and redirect to 404

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •