[assembly: System.Web.PreApplicationStartMethod(typeof(UrlTrackerPreApplicationStart), "PreApplicationStart")]
namespace InfoCaster.Umbraco.UrlTracker
{
public class UrlTrackerPreApplicationStart
{
public static void PreApplicationStart()
{
Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility.RegisterModule(typeof(UrlTrackerModule));
HostingEnvironment.RegisterVirtualPathProvider(new EmbeddedResourcesVirtualPathProvider());
}
}
}
so the HttpModule is registered at PreApplicationStart().
It will be nice to check if this HttpModule is added in web.config otherwise add it at runtime. It will be very helpful to manage order of HttpModules.
301 UrlTracker and NotFoundHandlers conflict
I have just upgraded Umbraco from 4.7.1 to 6.2.6. Removed old v1.3 301 UrlTracker and instaled v3.11.
Unfortunately current UrlTracker fires after all 404 not found handlers.
Now we can't set te order of each handlers so if any page is found by not found handler than the UrlTracker doesn't look for any page.
Is it possible to set order or register UrlTrackerModule manualy in web.config?
Now I see this piece of code:
so the HttpModule is registered at PreApplicationStart().
It will be nice to check if this HttpModule is added in web.config otherwise add it at runtime. It will be very helpful to manage order of HttpModules.
Did you figure this out? Do we have to disable our NotFoundHandlers?
Hi,
Know this is an old post - but did you find a solution to it?
Thanks Andy
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.