2

Is there a list of the default MIME types for IIS 7 somewhere?

The one I am most concerned with right now is that for .zip files.

I know application/zip will work, but IIS 7 has something else by default... I just can't remember what it is.

On that same note, is there a way to reset all the MIME types to their default values?

3 Answers 3

1

The IIS7 default is application/x-zip-compressed

I don't know of a way to remove all custom MIME types.

1
  • Best I could find is this list from 1999 showing the default mime mapping in IIS 4.0 and 5.0 :(
    – Day
    Jan 9, 2015 at 14:24
8

You can get an authoritative list for your machine by looking at applicationHost.config at %windir%\system32\inetsrv\config\applicationHost.config.

Search for mimeMap and it will jump to the first one. The default .zip mime type is 'application/x-zip-compressed'.

You can edit with IIS Manager at the server level (MIME Types icon) or you can edit applicationHost.config in notepad if you want. Just make sure that you keep good XML formatting and that you don't overwrite any changes that you make in IIS Manager by saving an old config file.

-2

In IIS-7 in Windows Server 2008, Windows 7, or Windows Vista SP1, the MIME types supports audio, video, text, HTML and Silver light by default.

1
  • This does not address concern Dec 5, 2012 at 4:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.