FLV and IIS 6
November 10, 2008
I learnt this the hard way a while back and then forgot and went through the pain again recently, so this is more a "note to self", but if it saves someone else some head scratching then that's a bonus!
If you want to serve flv files from IIS 6, which is bundled with Windows 2003 Server, then you need to add it as a MIME Type in IIS. If you don't then you'll not be able to view them via Flash and will get a 404 error when you try try to access them directly.
To add the MIME type to IIS (for all websites):
- Fire up Internet Information Services (IIS) Manager
- Expand out the server tree until you can see "Web Sites" node
- Right click on the "Web Sites" node and select "properties"
- Select the "HTTP Headers" tab
- Click the "MIME Types" button (at the bottom of the dialog box)
- Click the "New" button
- Type in ".flv" in the extention field (without the quotes)
- Type in "video/x-flv" in the MIME Type field (without the quotes)
- Click the "OK" button.
If you only want to set it up for one website, then right click on the website node and select "properties" from there.
- Posted in:
- IIS
No comments
Leave a comment
If you found this post useful, interesting or just plain wrong, let me know - I like feedback :)
