URL rewriting in .Net is a bit trickier than using a Ruby “route” or updating the “mod_rewrite” in Apache. Here’s an article from Scott Mitchell on MSDN on how to do it: http://msdn.microsoft.com/en-us/library/ms972974.aspx. Isapi filters are great if you have control over your server, but if you’re on a shared server, you’ll need to handle it at the ASP.NET level with a custom http handler. Scott’s article above goes into some detail about how to write your own, but Thomas Bandt and Albert Weinert have written a nice one (based on the work of Fabrice Marguerie) that you can freely reuse here: http://www.urlrewriting.net/149/en/home.html
Posted by hotrodscott