ISPConfig: snippet da incollare per il rewrite HTTP a HTTPS

Anche se il rewrite ad ssl è una pratica sconsigliata per motivi di compatibilità e performance in alcune situazioni è un workaround necessario :/

ISPconfig -> Siti -> [vhost sito] -> Opzioni -> Direttive Apache

RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]