Welcome, Guest. [ Log In ]
Question   I need such and such MIME type installed! How do I do it?
Search KBase


Top 5 in this Area:
1. How do I link to my RealAudio/Video files so they stream correctly?
2. Which multimedia formats do you support?
3. What is http streaming RealAudio/Video?
4. How many RealMedia streams do we get?
5. How do I make RealAudio/video files?

 
I need such and such MIME type installed! How do I do it?
You can add any MIME types you'd like in an .htaccess file with this syntax:

AddType the-mime/type-here .extension

If you need any assistance with this just contact Tech Support from the "Support" section of the Web Panel.

Last updated: Dec 05, 2002.

User Post (2005-03-29 10:42:32 by yost)
When they say .htaccess file, they mean in the top-level directory of your web site, and if you're trying to get a binary file to download instead of showing in a web page as if it were text, then do it like this:

AddType application/octet-stream .sitx
User Post (2004-04-12 13:02:38 by jayeshsheth)
Some tips related to serving Mozilla's .xul files correctly:

If you use a .htaccess file to specify the correct MimeType, that file should like this:
AddType application/vnd.mozilla.xul+xml xul

More information on this:
http://www.xulplanet.com/tutorials/xulqa/q_remotexul.html
http://info.connect.com.au/docs/hosting/vws/advanced/mimetypes.html

If you use [the server side scripting language] PHP, you can probably use the header function instead of a .htaccess file with something like the following:

header("Content-type: application/vnd.mozilla.xul+xml");

More information on this:

http://us2.php.net/manual/en/function.header.php
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html

Other links:
http://devedge.netscape.com/viewsource/2002/incorrect-mime-types/