RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] Alias /email /usr/share/roundcubemail # Define who can access the Webmail # You can enlarge permissions once configured # Apache 2.4 Require local Require all granted # Apache 2.2 Order Deny,Allow Require all granted Allow from all