<html>
<head>
<title>HTTP--HTTPS</title>
<meta http-equiv=Content-type content=text/html; charset=utf-8>
</head>

<script type="text/javascript">
 var targetProtocol = "http:"; 
if (window.location.protocol == targetProtocol)
window.location.href = window.location.href.replace('http:', 'https:'); </script>
</html>