hello, we are using this method to redirect http://mail.mydomain.com to https://mail.mydomain.com/owa
code saved below as default.htm and placed in inetpub / wwwroot folder
however we've noticed that users can still type: http://mail.mydomain.com/owa and connect on an unsecure channel. how can we modify this to catch http://mai.mydomain.com/.... requests and redirect to ssl
<title>Outlook Web Access</title>
// this will be whatever is in the browser. If you need to change this then comment out relevant line below
// Protocol = window.location.protocol + "//"
// Protocol = "http://"
Protocol = "https://"
Path = window.location.hostname + window.location.pathname + "owa"
window.location.href = Protocol + Path