Yes. I've tried that.
"JDMnAR" wrote:
> Have you tried the method mentioned in MS KB Article Q239875?
>
>
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q239875 >
>
> ".._.." wrote:
>
> > Are you using redirect code that you wrote, or code you picked up off the
> > internet somewhere.
> >
> > I might suggest just going to find a different code sample and seeing if you
> > can get that to work. Pulling the "s" out of the response.Write is not
> > something IIS is going to be doing. That's an application doing that, or an
> > ISAPI filter, or just bad code.
> >
> > If you can't get it to work, use other means to redirect. (JavaScript, or
> > set up a separate web site running port 443, and a separate site running
> > port 80 that redirects to the port 443 one.)
> >
> > "Limbo" <Limbo@discussions.microsoft.com> wrote in message
> > news:D6FF3605-2750-430B-81DF-16C8F175BAD3@microsoft.com...
> > >I assume this has something to do with IIS, as I get the same problem when
> > > redirecting with ASP.Net
> > >
> > > I am trying to make a redirect from
http://www.netmidlan.fo to
> > >
https://www.netmidlan.fo/nm/SignOn/SignOn.aspx > > >
> > > Notice, the 2nd is HTTPS.
> > >
> > > But somehow, HTTPS gets converted to HTTP somewhere in ASP / IIS.
> > >
> > > Have this code in test.asp:
> > >
> > > <%
> > > Response.Write("
https://www.netmidlan.fo/nm/SignOn/SignOn.aspx")
> > > response.Write("<BR>")
> > > response.Write("
https://www.netmidlan.fo/")
> > > response.Write("<BR>")
> > > response.Write("
https://www.zenit.fo/")
> > > %>
> > >
> > > When viewed, I get:
> > >
> > >
http://www.netmidlan.fo/nm/SignOn/SignOn.aspx > > >
http://www.netmidlan.fo/ > > >
https://www.zenit.fo/ > > >
> > > See
http://www.netmidlan.fo/Test.asp for example
> > >
> > > Notice, HTTPS has been changed to HTTP for my domain (NetMidlan.fo) but
> > > not
> > > for other domains (zenit.fo).
> > >
> > > What do I do? Why does this happen? How can I do it so that it works? Any
> > > suggestions?
> >
> >