Howto add a MIME type to IIS – broken download links when using IIS

Sometimes you´ll find yourself in the situation that users complain about broken download links on your website but you can´t figure out why. Because the files are there, the links are good and the webserver is working fine as well.

If your webserver is an IIS (Microsoft Internet Information Services) then it probably misses the MIME type for the file to download.

So here´s the solution:

  1. Log onto your server and start the internet information services manager (IIS manager)
  2. Select your server from the connections panel on the left and double click MIME-Type in the IIS section of the panel on the right
  3. Now you can see all the MIME-Types that are already registered and known to the server
  4. Scroll down to see if your extension is already registered (e.g. “.7z” for the 7z compression standard)
  5. If your extension is already listed there, then this is not the solution for your problem. Sorry !
  6. If your extenion is not listed there then do a right click somewhere and choose “Add” from the menu
  7. Enter the extenion – for 7z it would be “.7z”, for ISO image it would be “.iso”
  8. Now enter the MIME-Type depending on what extension you want to register. For 7z it would be “application/x-7z-compressed” and for ISO it would be “application/octet-stream”.
  9. Test your download links – if it works, good. If not you have to restart your IIS.
  10. You´re done !

See the screenshots below to see what to do and where. They are from a german version of IIS, but the general structure is the same as in the english version.

 

gParted Live CD – free kick ass partition editor / partition manager

gparted_1_big

Well I thought I wrote about this already but in fact I didn´t – anyway – if you´re looking for a kick ass partition manager / editor then be sure to check out the gParted Live CD.

It´s open source and therefore available for free at : http://gparted.sourceforge.net/.

If you need to do anything with your partition(s) – resize, move, delete, format, manually edit MBR and other crazy shit gParted Live CD is your choice. It boots directly from the CD, can also be adjusted to boot from a usb device and performs any desired action with your partitions.