<%@ language = vbscript %>
<% option explicit
' redirect http to https only if current page is non-ssl
if request.servervariables("server_port_secure") = "0" then %>
<html>
<head>
<meta http-equiv="refresh" content="0; url=<%= "https://"&request.servervariables("http_host") %>">
</head>
<body>
rerouting to ssl-enabled pages. a moment please ...
</body>
</html>
<% else %>
this is an ssl page
<% end if %>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment