nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Dotnetnuke Ssl Enabled Looping Redirect, I've spent over $300 and all I have are these redirects.
mariposa
post Jan 19 2010, 12:53 AM
Post #1





Group: Verified NS Member
Posts: 5
Joined: 19-January 10
Member No.: 7,243



I just got a Network Solutions SSL cert and enabled SSL on my NetworkSolutions DotNetNuke portal and now I'm in an infinite loop of redirects.
(IMG:http://forums.networksolutions.com/style_emoticons/default/dry.gif)

While I was waiting on the Website Restore feature to finish I did some research.

It turns out this is common to DotNetNuke, requiring some workarounds on the part of the hosting provider:

http://www.purpleant.com/Blogs/BrianSwanso...-redirects.aspx
http://www.dotnetnuke.com/Community/Forums.../2/Default.aspx

Anyone been able to get SSL working at least for the login portion of using a portal?
Go to the top of the page
 
+Quote Post
Susan013
post Jan 19 2010, 03:11 PM
Post #2





Group: NetSol Staff
Posts: 89
Joined: 3-December 09
Member No.: 6,342



QUOTE (mariposa @ Jan 19 2010, 01:01 AM) *
I just got a Network Solutions SSL cert and enabled SSL on my NetworkSolutions DotNetNuke portal and now I'm in an infinite loop of redirects.
(IMG:http://forums.networksolutions.com/style_emoticons/default/dry.gif)

While I was waiting on the Website Restore feature to finish I did some research.

It turns out this is common to DotNetNuke, requiring some workarounds on the part of the hosting provider:

http://www.purpleant.com/Blogs/BrianSwanso...-redirects.aspx
http://www.dotnetnuke.com/Community/Forums.../2/Default.aspx

Anyone been able to get SSL working at least for the login portion of using a portal?


Our proxy SSL doesn't allow server-side variables to detect HTTPS (secure). All server-side coding will always detect HTTP (non-secure), and for programs that attempt to redirect non-secure connections (http://) to a secure connection (https://) will result in an infinite loop and server error after 30 seconds.

The only ways around this is to
assume the connection is secure by making all the links to the sensitive pages https, or

use a client-side program (like javascript) to detect if it's secure and redirect if it's not. The coding below will do just that. Just modify it to redirect to the correct secure domain and add it into the HTML of any sensitive pages.

CODE
<script language="javascript">
if (document.location.protocol != "https:")
{
document.location.href = "https://secure.domain.com" + document.location.pathname;
};
</script>


I hope this is helpful,
Go to the top of the page
 
+Quote Post
mariposa
post Jan 20 2010, 12:22 AM
Post #3





Group: Verified NS Member
Posts: 5
Joined: 19-January 10
Member No.: 7,243



QUOTE (Susan013 @ Jan 19 2010, 04:19 PM) *
Our proxy SSL doesn't allow server-side variables to detect HTTPS (secure). All server-side coding will always detect HTTP (non-secure), and for programs that attempt to redirect non-secure connections (http://) to a secure connection (https://) will result in an infinite loop and server error after 30 seconds.

The only ways around this is to
assume the connection is secure by making all the links to the sensitive pages https, or

use a client-side program (like javascript) to detect if it's secure and redirect if it's not. The coding below will do just that. Just modify it to redirect to the correct secure domain and add it into the HTML of any sensitive pages.

CODE
<script language="javascript">
if (document.location.protocol != "https:")
{
document.location.href = "https://secure.domain.com" + document.location.pathname;
};
</script>


I hope this is helpful,

Go to the top of the page
 
+Quote Post
mariposa
post Jan 20 2010, 12:25 AM
Post #4





Group: Verified NS Member
Posts: 5
Joined: 19-January 10
Member No.: 7,243



>>I hope this is helpful,
Maybe!
How does one make the login page in dot net nuke https only?
Go to the top of the page
 
+Quote Post
Susan013
post Jan 20 2010, 04:41 PM
Post #5





Group: NetSol Staff
Posts: 89
Joined: 3-December 09
Member No.: 6,342



QUOTE (mariposa @ Jan 20 2010, 12:33 AM) *
>>I hope this is helpful,
Maybe!
How does one make the login page in dot net nuke https only?


I would recommend contacting .NetNuke support. We apologize for any inconvenience.
Go to the top of the page
 
+Quote Post
mariposa
post Jan 21 2010, 01:08 PM
Post #6





Group: Verified NS Member
Posts: 5
Joined: 19-January 10
Member No.: 7,243



QUOTE (Susan013 @ Jan 20 2010, 05:49 PM) *
I would recommend contacting .NetNuke support. We apologize for any inconvenience.


Okay. Done! Another problem now.
I can't get to the DotNetNuke database to make needed adjustments. I can't see the IP address of the database instance to attach to it to make changes. When I create my own instance, the IP, username and password are known. How do I find this information for the DotNetNuke database Network Solutions set up for me?



Go to the top of the page
 
+Quote Post
Susan013
post Jan 22 2010, 09:51 AM
Post #7





Group: NetSol Staff
Posts: 89
Joined: 3-December 09
Member No.: 6,342



QUOTE (mariposa @ Jan 21 2010, 01:16 PM) *
Okay. Done! Another problem now.
I can't get to the DotNetNuke database to make needed adjustments. I can't see the IP address of the database instance to attach to it to make changes. When I create my own instance, the IP, username and password are known. How do I find this information for the DotNetNuke database Network Solutions set up for me?


I would recommend checking in the DotNetNuke Configuration file.

Thank you,
Go to the top of the page
 
+Quote Post
mariposa
post Jan 23 2010, 03:26 AM
Post #8





Group: Verified NS Member
Posts: 5
Joined: 19-January 10
Member No.: 7,243



QUOTE (Susan013 @ Jan 22 2010, 09:59 AM) *
I would recommend checking in the DotNetNuke Configuration file.

Thank you,


are you sure its the dotnetnuke file? there don't seem to be any ip addresses in there
The web.config file defines a SiteSqlServer. What IP address does "Server=VW2K3SQL3A" relate too?

<add name="SiteSqlServer" connectionString="Server=VW2K3SQL3A;Database=********;uid=********;pwd=********;" providerName="System.Data.SqlClient" />
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2011 Time is now: 27th November 2014 - 06:39 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates