When I moved my blog from Blogger to DasBlog I wanted to keep rss.xml and atom.xml, and redirect them to the new DasBlog url’s. I googled a bit but didn’t find much. And the ones I found I wasn’t able to use (maybe because I’m running Vista RC2). Anyway, last night enough was enough and I decided to put this to an end. I started to look at IIS’s config file applicationHost.config (usually found at C:\Windows\System32\inetsrv\config) and one section got my attention:
<httpRedirect enabled="false" />
The problem was finding schema documentation for
this element. After a while I found this (http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=946&p=24).
To solve my problem I used this: <httpRedirect enabled="true"
exactDestination="true”
httpResponseStatus="Permanent">
<add
wildcard="/rss.xml"
destination="/SyndicationService.asmx/GetRss" />
<add
wildcard="/atom.xml"
destination="/SyndicationService.asmx/GetAtom" />
</httpRedirect>So if you have a similar problem I hope this
helps.
Update:
I upgraded to Vista Release and suddenly the redirect didn't work anymore. I tried and tried and tried and gave up. I tried again and came over this: |
That
nailed it. Don't know why I didn't see this before, but it would be nice
though if the error message said something about enabling this feature. |