Click here to download:

web.config (1 KB)

This is just something that I decided to post up because finding this config file for IIS is a wee bit harder than it should be.

Just dunk this into the document root or amend your current config file with these extra rules and you should be all good.