IIS 6 and MIME Types

  • Section(s): Security , Network
  • Published on Sep 07, 2005.
  • Last Modified on Sep 07, 2005.
  • Last Modified by Mitch Tulloch.
  • Rated 3.6 out of 5 based on 12 votes.
Serving up files from a web server running IIS 6 can sometimes be problematical.

Serving up files from a web server running IIS 6 can sometimes be problematical. This is because by default IIS 6 will not serve up files that have file extensions with unknown MIME types. This action was taken in IIS 6 to make web servers more secure, but you can allow files with any extension to be served up as follows:

  1. Open IIS Manager and open the properties of the IIS node.
  2. Click MIME Types, then click New.
  3. Type a single asterisk into the Extension box.
  4. Type application/octet-stream into the MIME Type box.
  5. Click OK.

Now IIS 6 will serve up any file to a client requesting it regardless of the file's extension. But this approach does this globally for all sites on the server--you can also do it on a per site basis using each website's properties pages because MIME settings are additive not overriding in IIS 6.  

About Mitch Tulloch

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see www.mtit.com .

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Data Recovery solution?