IIS Directory listing doesn't reconize .mkv files

Jan Johansen picture Jan Johansen · May 26, 2010 · Viewed 14.6k times · Source

I use the directory listing function in IIS to upload a bunch of files for friends and family to easy access and download.

My problem is that .mkv files it lists but when you click it i get a 'The page cannot be found'.

Ive tried relocating the file and renaming it but i get the same error each time. Why does it do this? Its only my .mkv files everything else works perfectly.

Thanks in advance.

Answer

Mauro picture Mauro · May 26, 2010

have you added the mkv mime type for your IIS server?

Adding Mime Type Walk through

use mkv and "video/x-matroska" where the example uses FLV and the flv mime type.