Testing some more redirect-to-initialization steps

This commit is contained in:
Rick Falkvinge
2012-11-08 11:15:08 +00:00
parent 62ac61ab07
commit 1bba8a3ab1
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
padding:0;
border: 0px solid #CCC;
overflow:visible;
float:left;
width:980px;/* */
/* float:left;
width:980px; */
}
.swMain .stepContainer {
display:block;
+2 -1
View File
@@ -20,6 +20,7 @@ namespace Activizr.Pages.Security
if (!PirateDb.Configuration.IsConfigured())
{
Response.Redirect("/Pages/v5/Init/", true);
return;
}
// Unlock Telerik
@@ -33,7 +34,7 @@ namespace Activizr.Pages.Security
if (!Request.IsSecureConnection)
{
if (!Request.Url.ToString().StartsWith("http://dev.activizr.com/") && !Request.Url.ToString().StartsWith("http://localhost:"))
if (!Request.Url.ToString().StartsWith("http://dev.activizr.com/") && !Request.Url.ToString().StartsWith("http://localhost:") && Request.Url.ToString().StartsWith("http://activizr-"))
{
Response.Redirect(Request.Url.ToString().Replace("http:", "https:"));
}