Home
About
Contact
Wednesday, December 27, 2006
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:


WindowsFeatures.jpg

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.
DasBlog | IIS | Vista | Web
Monday, January 07, 2008 2:49:19 PM (W. Europe Standard Time, UTC+01:00)
Nice catch! You prob just saved me a couple of hours troubleshooting

Cavan
Cavan
Thursday, April 03, 2008 11:02:10 PM (W. Europe Daylight Time, UTC+02:00)
Thank you very much for posting this! I've been ripping my hair out wondering why the hell the damn thing won't redirect when it's because the damn redirect feature wasn't installed. DUH.

you're right. an error message, or a suggestion, or SOMETHING FOR GOD'S SAKE would have been nice.

thanks again!
Tuesday, September 09, 2008 12:22:30 AM (W. Europe Daylight Time, UTC+02:00)
You saved me heaps of time. Under Win2008 server, you install the feature via the settings on the "Web Server" role.
Tuesday, September 09, 2008 1:13:47 AM (W. Europe Daylight Time, UTC+02:00)
I'm only glad to help :-) Thanks for the 2008 info. I'll probably need that when I move my blog from Vista to 2008.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Live Comment Preview
RSS RSS - Comments Twitter LinkedIn
         
SEARCH
 
 
         
TOP POSTS
   
         
NAVIGATION
   
         
CATEGORIES
  .Net (61) ADFS (3) Agile (30) Ajax (5) Architecture (20) Articles (1) ASP.NET (7) ASP.NET-MVC (1) Blogging (12) Books (2) BPEL (1) CleanCode (1) CloudComputing (7) Community (4) CSharp (11) DasBlog (5) Database (2) DDD (5) Deployment (17) DSL (1) Events (38) ExtremeProgramming (6) Fun (6) Gadgets (4) IIS (10) InfoQ (4) Java (2) Lean (3) Linq (2) MemoryLeaks (5) Microsoft (37) MVC (1) NDC (2) NNUG (36) Other (10) Patterns (9) Performance (3) Scrum (17) Security (7) ServiceBus (1) Silverlight (4) Software (19) TeamManagement (11) TechEd (7) Testing (4) Tools (25) TvGuide (1) Vista (15) VisualStudio (16) WCF (8) Web (16) WebDeploy (2) WIF (3) Windows (10) WiX (9) Work (16) Workflow (3)  
         
ARCHIVE
   
         
BLOGROLL
   
         
ON THIS PAGE...