Blogs has officially moved. Please update your links

After 7 1/2 years, my blog and all content has been moved to my own domain!  I’ve worked with the admins who run to implement a 301 redirect.  Old links should redirect to the corresponding link on my new blog.  It’s been quite an adventure.  Check out the post related to standing up Orchard, here is the link  I’ve been really impressed with the performance of Orchard. I’ve been testing a VPS at GoDaddy (1 proc, 2 GB, 30 GB of ram) for $40 / per month.  So far so good. Stay tuned on this, more updates to come. 

Here are the URL Rewrite rules I implemented.  I used appcmd migrate config “” to update so the “r” folder, which handles all the redirects, would work in a ASP.NET 4.0 integrated app pool.

<?xml version="1.0" encoding="UTF-8"?>
        <rule name="Redirect archive Article" stopProcessing="true">
            <match url="archive/(.*)/(.*)/(.*)/(.*)\." />
            <action type="Redirect" url="{R:4}" appendQueryString="false" redirectType="Permanent" />
        <rule name="Redirect default.aspx" stopProcessing="true">
            <match url="(default.aspx)" />
            <action type="Redirect" url="" appendQueryString="false" redirectType="Permanent" />
                <rule name="Redirect Everything Else" stopProcessing="true">
                    <match url=".*" />
                    <action type="Redirect" url="" appendQueryString="false" redirectType="Permanent" />
        <caching enabled="false" enableKernelCache="false" />
            <remove name="ServiceModel" />
            <add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="managedHandler" />
            <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler" />
            <add name="WarmupHttpModule" type="Orchard.WarmupStarter.WarmupHttpModule, Orchard.WarmupStarter, Version=1.0.20, Culture=neutral" preCondition="managedHandler" />
            <remove name="svc-Integrated" />
            <remove name="xoml-Integrated" />
            <add name="*_*" path="*" verb="*" type="System.Web.HttpNotFoundHandler" preCondition="integratedMode,runtimeVersionv2.0" />
        <validation validateIntegratedModeConfiguration="false" />

PS – I ran into a kernel mode cache issue so for redirects I don’t want them cached. 

Thank you,

Steve Schofield
Windows Server MVP - IIS
Log archival solution
Install, Configure, Forget

No Comments