http to https redirect problem

http to https redirect problem

am 14.07.2005 15:46:27 von John

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. and tested it.

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?

I have rebooted and have asked a friend to test and he gets the same error
with IE.

thank you
mark

Re: http to https redirect problem

am 14.07.2005 20:48:33 von Miha Pihler

Hi,

Here is a solution for Outlook Web Access and Exchange, but should give you
an idea how to solve your problem.

How to: Redirect an HTTP connection to HTTPS for Outlook Web Access (OWA) in
Exchange 2003 Server
http://support.microsoft.com/default.aspx?scid=kb;en-us;5551 26&Product=exch2003

I hope it helps,

--
Mike
Microsoft MVP - Windows Security

"msnews.microsoft.com" wrote in message
news:Oe$RXoHiFHA.1480@TK2MSFTNGP10.phx.gbl...
>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. and tested it.
>
> 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?
>
> I have rebooted and have asked a friend to test and he gets the same error
> with IE.
>
> thank you
> mark
>
>

Re: http to https redirect problem

am 15.07.2005 03:57:20 von John

I have looked at this and have done what it indicates, but the outcome is
the same.
I'm at a loss as to why this is happening.

Mark


"Miha Pihler [MVP]" wrote in message
news:eawYjSKiFHA.572@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> Here is a solution for Outlook Web Access and Exchange, but should give
> you an idea how to solve your problem.
>
> How to: Redirect an HTTP connection to HTTPS for Outlook Web Access (OWA)
> in Exchange 2003 Server
> http://support.microsoft.com/default.aspx?scid=kb;en-us;5551 26&Product=exch2003
>
> I hope it helps,
>
> --
> Mike
> Microsoft MVP - Windows Security
>
> "msnews.microsoft.com" wrote in message
> news:Oe$RXoHiFHA.1480@TK2MSFTNGP10.phx.gbl...
>>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. and tested it.
>>
>> 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?
>>
>> I have rebooted and have asked a friend to test and he gets the same
>> error with IE.
>>
>> thank you
>> mark
>>
>>
>
>

Re:http to https redirect problem

am 05.07.2006 21:19:50 von billg

Found the following which solved this (from http://www.tech-archive.
net/Archive/Windows/microsoft.public.windows.server.general/ 2005-06/msg01530.
html) (thanks tom of the east):

Solution (via MSFT support):

1) Check logs to see which error message is being created. In fact, it
appears to be 403.6 and not 403. However, if, in I.E., the user has selected
"Show friendly HTTP error messages" (Tools->Internet
Options->Advanced->Browsing) he will see the local 403.htm file mentioned
below. So, make sure that the error you see in your client is not really
something else in the logs (hey, that's helpful...)

On the server side, create a replacement error message at the root level of
the website. Then, in the admin interface of IIS, select Custom Errors ->
error 403;6. Select "Edit" and then "Url" and point at the replacement error
message thus:

\replacement.htm

There is an Alternative workaround:

Make the 403.htm error file on the server [C:\WINDOWS\Help\iisHelp\common]
larger than 2K. If it is larger than 2K and if you have selected it as a
custom error file, it will take over and override whatever setting the user
has entered in I.E. Advanced preferences.

Bizarre, but true.

Firefox/Mozilla/Netscape browsers have none to these issues.