Showing posts with label redirect. Show all posts
Showing posts with label redirect. Show all posts

Friday, 11 April 2014

HTTPS Redirect Umbraco Package Infinite Redirect Loop

Sources:
I was having this exact same issue with v1.2.0, and spent some time looking at my IIS set-up and certificates and everything was correct but the redirect kept on happening. What was strange was it worked locally but not on my staging environment.
My solution was to changes the host names set-up in Umbraco.
On my local environment (that worked) I had this set-up in "Manage Host Names":
sub.domain.local/en
But on staging (that wasn't working) I had:
So on staging I change this to:
sub.domain.com/en
This worked! So check your hosts names.

Monday, 24 November 2008

Point old dll versions to newer versions in web.config

The following web.config entry was giving me an error stating it could not find the dll:

<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

The reason for it missing is because System.Web.Extensions.Design is now in the GAC with .NET 3.5 and it can not find version 1.0.61025.0.

To fix this I placed the following config entry which routes any old dll to the new dll:

<runtime>

<dependentAssembly>

<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>

<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

dependentAssembly>

assemblyBinding>

runtime>

Make sure it is below the ConfigSections.