Force Apache SSL Redirection from HTTP for iRedMail
From KlavoWiki
Jump to navigationJump to search
Force SSL
To redirect all HTTP traffic to use SSL.
vi /etc/httpd/conf.d/ssl.conf
Add the following lines to the bottom of the file before the close of </VirtualHost>
RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "mail.myserver.com" RequestHeader set "x-webobjects-server-url" "https://mail.myserver.com"