views:

149

answers:

2

Hello

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.

+3  A: 

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.

Mauro
I learn something new everyday, thanks alot.
Buckley
+1  A: 

IIS doesn't like to serve files with extensions it doesn't know the MIME type for. This keeps someone from, say, getting web.config files (and thus, often, SQL server login info and such) from some site that wasn't extra careful about setting up permissions.

cHao