IIS ignores system.webServer staticContent section
问题 UDPATE On a whim, I decided to upload the 4 fonts files to an font converter. I converted the fontsfrom ttf to ttf and then tried it. Everything works fine: the Content-Type is set correctly and the X-Powered-By header is removed. Weird. I am trying to change the mime type (Content Type header) of a .ttf file in web.config on IIS7. Here is the staticContent section inside <system.webServer /> : <staticContent> <remove fileExtension=".ttf" /> <mimeMap fileExtension=".ttf" mimeType="font/ttf" /