Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Setting up SSL in DNN 4.5.4+

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Page 3 of 3<< < 123
AuthorMessages
John Mitchell
Posts:3085



04/28/2008 7:38 AM  
If you don't have an SSL cert installed on that site then the server will close the connection before the request gets to IIS or ASP.Net

This is because that port (443) has not been enabled.
OM
Posts:31



04/30/2008 11:18 PM  

Doh, of course, thanks.  I've now got a cert installed.  I had thought that since I want to have all https redirected to http, I wouldnt need a cert, but without a cert port 443 wont be open.

Now it is almost working, except that it seems to just URL rewrite, not redirect(?)

If I check https://mysite.com, the server header check shows 200 OK, with no mention of a 301.  If I browse to the page, it serves up https://mysite.com.  So it has done something, but I'm not quite sure what it has done - maybe a Response.Redirect?  I will have to dive into the source and try to figure it out.

OM

OM
Posts:31



05/01/2008 5:35 AM  

Discussion continued back at ... http://www.ifinity.com.au/Products/Support_Forums/forumid/8/postid/392/scope/posts/ ... apparently if EnforceSSL is true, and Page.Secure is false, it does a javascript reload via window.location.replace - which is not a redirect at all, it is just more duplicate content, the code is :

Response.Clear()

' add a refresh header to the response

Response.AddHeader("Refresh", "0;URL=" & strURL)

' add the clientside javascript redirection script

Response.Write("[html][head][title][/title]")

Response.Write("[!-- [script language=""javascript"">window.location.replace(""" & strURL & """)[/script> --]")

Response.Write("[/head][body][/body][/html]")

' send the response

Response.End()

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 3 of 3<< < 123

Forums >DotNetNuke Support >Tutorials-Guides > Setting up SSL in DNN 4.5.4+



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information