G J Piper
Regular Pleskian
I'm not sure if this happens to anyone else, but there is an improvement that could be done to the Roundcube functionality.
In my Plesk 12.5 installation, with Roundcube webmail enabled, the server gives an error if a customer goes to their webmail using the following URL without a slash at the end: http://webmail.customersdomainname.ext/roundcube
Here is the easy fix that hopefully the Plesk crew can add to their default server configs:
In this file:
/etc/httpd/conf/plesk.conf.d/roundcube.htaccess.inc
Add this code directly after the "RewriteEngine On":
RewriteCond %{HTTPS} =on
RewriteCond %{REQUEST_URI} ^/roundcube$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/roundcube/ [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} ^/roundcube$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/roundcube/ [R=301,L]
Hope this helps someone.
In my Plesk 12.5 installation, with Roundcube webmail enabled, the server gives an error if a customer goes to their webmail using the following URL without a slash at the end: http://webmail.customersdomainname.ext/roundcube
Here is the easy fix that hopefully the Plesk crew can add to their default server configs:
In this file:
/etc/httpd/conf/plesk.conf.d/roundcube.htaccess.inc
Add this code directly after the "RewriteEngine On":
RewriteCond %{HTTPS} =on
RewriteCond %{REQUEST_URI} ^/roundcube$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/roundcube/ [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} ^/roundcube$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/roundcube/ [R=301,L]
Hope this helps someone.