How to force Roundcube connecting HTTPS?

Discussion in 'Installation/Configuration' started by concept21, Oct 3, 2017.

  1. concept21

    concept21 Active Member HowtoForge Supporter

    My question is simple. How do we force Roundcube web mail to connect with HTTPS only
    but let this stay as HTTP?

    My idea is that http may be faster than https. We only use it for secure authentication. :rolleyes:
  2. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    Of course HTTPS needs to encrypt the data, but if your data is dynamic, than rendering it takes more time than encrypting so that there is not much of speed difference. Then the only difference is the TLS handshake. But this depends of course of multiple factors, mainly hardware. Why don't you test the speed impact?
    P.S.: If you want to stick with a HTTPS webmail only, why not use
    concept21 likes this.
  3. concept21

    concept21 Active Member HowtoForge Supporter

    Thank for your opinion. :)
    I have not yet configured any subdomain successfully. My configuration always redirects visitors to the wrong subdirectory :D Could you provide any material or guide to me?
  4. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    Alternative can also be to make roundcube only available on your mail page using SSL and redirect all others there.
  5. ISPConfig Developer ISPConfig Developer

    you could implement roundcube like described here
    and add
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{REQUEST_URI} folder
    RewriteRule ^(.*)$$1 [R,L]
    to your apache directives

    uhm there might be a redirect assistent in website configuration which may be just clicking some buttons, honestly... never played with those so some ISP-experts might assist with that if you can't figure them out :) just hinting, there are other possibilities to achieve that

    edit: updated rewrite-rule

Share This Page