October 25th, 2012, 08:09 AM
IIS7.5 Serving .rss extensions
Hi all. I'm migrating a site from a server running IIS6 to one running IIS7.5. I have some rss feeds, that are effectively .asp files with a different extension. I was able to set up IIS6 to serve these .rss files as though they were .asp files but I'm struggling to achieve the same with IIS7.5. I have gone to the Handler Mappings in IIS and "Add script map" with the *.rss extension and have pointed it to the same executable as for the .asp files. The request restrictions have been set as Invoke handler only if request is mapped to: FILE, Verbs: All Verbs, Access: Script. When trying to view the .rss file via the browser I get "HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler."
Any help will be greatly appreciated.