How to migrate request http to https by apache

Posted on

Hi ,

I try to migrate the request http to https by virtual host ..

after the connexion login , i have the same issue ..( the connexion isn't full secure )...

ex : my virtual host

ServerName shop-sosa-ppd.vinci-construction.net
Redirect permanent / https://shop-sosa-ppd.vinci-construction.net/

ServerName shop-sosa-ppd.vinci-construction.net
ProxyRequests Off
ProxyPreservehost on
RewriteEngine on
RewriteCond "%{HTTPS}" "!=on"
ProxyPass /shop_sosa http://localhost:8080/shop_sosa connectiontimeout=5 timeout=3600 keepalive=On
ProxyPassReverse /shop_sosa http://localhost:8080/shop_sosa
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite DEFAULT:!EXP:!SSLv2:!DES:!IDEA:!SEED:+3DES
SSLCertificateFile /etc/pki/tls/certs/shop-sosa-ppd.vinci-construction.net.crt
SSLCertificateKeyFile /etc/pki/tls/private/shop-sosa-ppd.vinci-construction.net.key

please you can confirm if my virtual host is good ??

regards
Walyd Belkass

Responses