My question is simple. How do we force Roundcube web mail to connect with HTTPS only https://example.com/webmail/ but let this stay as HTTP? http://example.com My idea is that http may be faster than https. We only use it for secure authentication.
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 webmail.example.com?
Thank for your opinion. I have not yet configured any subdomain successfully. My configuration always redirects visitors to the wrong subdirectory Could you provide any material or guide to me?
Alternative can also be to make roundcube only available on your mail page using SSL and redirect all others there.
you could implement roundcube like described here https://www.howtoforge.com/communit...-enigma-munin-phpmyadmin-using-php-fpm.77489/ and add Code: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} folder RewriteRule ^(.*)$ https://www.example.com/folder/$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