• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Roundcube URL Trailing Slash Requirement

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.
 
Back
Top