I have a website with a SSL certificate and have a need for anyone who
browses to the website with http to be redirected to https.
I created a custom 403.4.htm page.

My problem is that I constantly get error page 403.htm and cannot see this
in the MMC for IIS on the custom errors page.
I know where this file is located, but as my webserver has several websites
I need to set a custom 403.htm for that website or to find out why it is
giving 403.htm errors.

It should be noted that Firefox works, and redirects every time from
http://www.mysite.com/ to https://www.mysite.com
Why is Internet Explorer causing this problem by always showing 403.htm?

thank you
mark

Re: how to redirect to SSL by Sai

Sai
Thu Jul 14 08:48:16 CDT 2005

one way is to redirect in the home page java script code. Use the
following script to do that.

<script>
var httpAddress = window.location.href
var server = "www.mysite.com"
var httpIndex = httpAddress.indexOf("http://")
if (httpIndex >= 0){
window.location = "https://" + server
}
</script>


Re: how to redirect to SSL by msnews

msnews
Thu Jul 14 08:57:23 CDT 2005

It won't see the homepage if the whole website requires SSL

Mark



"Sai" <sbillanuka@gmail.com> wrote in message
news:1121348896.348694.33540@g14g2000cwa.googlegroups.com...
> one way is to redirect in the home page java script code. Use the
> following script to do that.
>
> <script>
> var httpAddress = window.location.href
> var server = "www.mysite.com"
> var httpIndex = httpAddress.indexOf("http://")
> if (httpIndex >= 0){
> window.location = "https://" + server
> }
> </script>
>