Sentora Support Forums
Redirection HTTP for HTTPS - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Redirection HTTP for HTTPS (/showthread.php?tid=1025)



Redirection HTTP for HTTPS - Cantalupo - 02-10-2015

how redirection:
http://domain.tdl for https://domain.tdl

Thanks


RE: Redirection HTTP for HTTPS - Me.B - 02-10-2015

use .htaccess this is the most basic form.


RE: Redirection HTTP for HTTPS - Cantalupo - 02-11-2015

You have the code?
I have used several and does not work ...


RE: Redirection HTTP for HTTPS - Jayster - 02-11-2015

Why not use Module Admin>>Apache Config>>Override a Virtual Host Setting?
Select your domain that you want to be forwarded from 80 to 443
(OptionsSmile
Port Override: 443
Forward Port 80 to Overriden Port: (Check This)
IP Override: Your Server IP (Optional)

Custom Entry:
SSLEngine on

SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

SSLCertificateFile /etc/pki/tls/certs/localhost.crt

SSLCertificateKeyFile /etc/pki/tls/private/localhost.key



If you want HTACCESS option only?

RewriteEngine on

RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}:443/$1 [NC,R,L]


RE: Redirection HTTP for HTTPS - Cantalupo - 02-11-2015

Solution !! Smile