IIS 7 – How to Serve Unknown File Types

iis-7mimewindows-server-2008

Is there a way to serve unknown file types in IIS 7?

I only want to do this for a single directory where execution is turned off and everything will be served as a static file.

As it is now, I have to add each file extension that I want to serve as a MIME type. I want to serve everything. How can this be done?

Best Answer

You can add an universal MIME type by using the extension "*" and the type "application/octet-stream": http://support.microsoft.com/kb/326965