Adding .FLV MIME Type in IIS

.FLV files are already the best method for publishing video on the web, and are sure to become even better with the new enhancements in Flash 8. When serving .flv files off of a Windows Server 2003 (or any other Windows server I would imagine) requires setting up the MIME type on the server first (it isn't one of the native MIME types on MS servers).

You can figure out easily if your server is configured to support .flv files by posting a .flv file on a server and navigating to the URL of that .flv in a browser. If you see a LONG string of garbage on the screen, your server isn't set up for .FLVs and needs to have the MIME type set up.

Adding .flv MIME type in IIS

1) Select the site to configure in IIS, right click and select "Properties"
2) Under HTTP Headers Tab, select "File Types" under the MIME Map section and select "New Type"
3) Type ".flv" as the associated extension and "video/x-flv" as the content type.
4) Select "OK" and you're ready to fly!

UPDATE:
If you're using Flash with ASP.NET, be sure to check out my book, Foundation ASP.NET for Flash!

http://it.toolbox.com/blogs/rymoore/adding-flv-mime-type-in-iis-4198

加支付宝好友偷能量挖...


评论(0)网络
阅读(76)喜欢(0)操作系统及应用软件