DNN redirects to https

We have our own website DNN 6.01.03, in Windows 2003x64, std.

We allowed the use of SSL, but we would like to configure it so that the user passing through HTTP is redirected to HTTP.

Is there any way to do this? It looks like in IIS7 we could use the IIS rewrite URL module, but this is IIS6.

Please inform. Thank you

+5
source share
3 answers

The fastest way is to set the site to "Force SSL" in DNN.

I noticed that the behavior is better when using a tool like UrlMaster from IFinity.com.au.

+5
source

403.4. URL-, .

1.

-.

:

ASP.NET redirect.aspx , Classic ASP:

<%@ Page Language="C#" %>

<!DOCTYPE html>

<script runat="server">
    protected void Page_Load(object sender, EventArgs e) 
    {   
        if (!Request.IsSecureConnection)
        {
            string query = Request.ServerVariables["QUERY_STRING"];
            query = query.Replace("http:", "https:");
            query = query.Replace("403;", "");
            query = query.Replace(":80", "");
            Response.Redirect(query);
        }
    }
</script> 

<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Redirecting...
    </div>
    </form>
</body>
</html>

2. , SSL

Edit redirect.aspx propertis in IIS Manager

3. 403.4 URL-

enter image description here

. :

+3

: :

1) Mitchel DNN, SSL SSL. a > > SSL > , " SSL SSL"

Site settings

2) As Bruce pointed out, you need to go to each page and make it a safe page. Page Settings> Other Settings> check the "Secure" box. I had to do this for all pages ... even for the Site Administrator and settings pages.

Page Settings

0
source

All Articles