Lazycoder

13Jul/050

half moved over

Well I’ve moved 1/2 of my sites to the new web host. I chose WebHost4Life. So far, there have been a few bumps but their support has been very responsive. Picking this new host means I’ve moved from Apache to IIS. Which means my URL rewrites quit working.

I’ve set up some redirectors so if you’ve subscribed to one of my feeds you should get a 301 and be sent to the new site. I’m looking to see if there some way I can do the redirections using an HttpModule in ASP.NET, but it looks like I’d have to parse the incoming URL, then create a WebRequest to the correct PHP page and send the request string to the HttpWriter. That spells S-L-O-W. Caching would help, but it seems like a lot of extra work. I think my 404 redirector will work, it seems to have worked for the few pages I’ve googled.

One interesting side effect of this is that I’ll be able to post some of my ASP.NET controls on a demo page. I made the move primarily due to a price/space issue, but posting ASP.NET apps and PHP apps side-by-side is an added bonus. The only way it could get better would be if I could deploy Rails applications. Anyone from Webhost4Life reading this? Any plans to let us deploy Rails applications?

I’m planning on setting up a test server at my house anyway, I’ll be able to set up some sub-domains for my little play applications.

Filed under: General Leave a comment