About Me · Send mail to the author(s) E-mail · Twitter

At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.

Feed Icon


Open Source Projects


Blogs of friends

Now playing [?]

Error retrieving information from external service.

IIS and Unknown MIME Types

Posted in IIS at Sunday, 23 October 2005 18:06 W. Europe Daylight Time

Having written my last blog entry, I noticed that IIS won't serve the attached kmz file that stores the Google Earth location data.

It appears that the outcome of Microsoft's Secure Development Lifecycle (SDL) hit me, especially Secure by Default, as IIS won't serve files of unknown content type: IIS responds with a HTTP/404 Not Found error and blocks access to those files. You will have to add a content-type mapping using the IIS MMC add-in to permit serving such files.

Configure MIME Types in IIS.gif

There's no way of disabling MIME type blocking in IIS 6.0. Instead of defining content types on a file-extension basis, you may add a new MIME type for files of extension * with a type of application/octet-stream. This will provide a default MIME type for all files that don't have one and bypass the blocking.

Now playing: Anathema - Judgement - Make it right (F.F.S.)

All comments require the approval of the site owner before being displayed.
(will show your gravatar icon)
[Captcha]Enter the code shown (prevents robots):

Live Comment Preview