LA InterWeb - Powering Web Sites Worldwide
Home About Us Products & Services Resellers Support Contact Us Order Now!
Support Center / Knowledge Base
Home > Support Center > Knowledge Base > MIME Types

MIME Types

In This Section:

   » What Are MIME Types?

   » Adding MIME Types In The Control Panel

   » .htaccess File

   » Examples of MIME Types

   » Clearing Cache



What Are MIME Types? Top

MIME stands for Multipurpose Internet Mail Extensions. MIME Types are a standard for describing different types of information. This was originally meant to be used to specify encoding for different types of information into text. This made it possible to send them as email

The standard MIME is also used in other types of communication where there is a need for specifying which type of information is used. This could be your local operating system or a web server.



Adding MIME Types In The Control Panel Top

To add a MIME type just click on the button that says 'MIME Types' in your control panel, then choose the directory you would like to add the MIME type to. If you want to add it to all directories, just choose your root directory (yourdomain-www). Then type in the application (ie x-shockwave-flash ) and the application extension (ie .swf).

Note: If you are using Microsoft FrontPage on your account you cannot edit the MIME Types using this button.



.htaccess File Top

Since we run an Apache server on a Unix based system, you can set the mime type by adding a small file to your HTML directory on the server. The file name and contents are as follows:

file name: .htaccess
file contents: AddType audio/midi mid


Note: If you are using Microsoft FrontPage, you shouldn't edit your .htaccess file.



Examples of MIME Types Top

Examples:

AddType application/x-shockwave-flash .swf
AddType application/x-httpd-cgi .cgi .pl
AddType text/html .shtml
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-Miva .mv
AddType application/msexcel .xls

Can also try:

AddType application/rtf .rtf
AddType application/msword .doc
AddType application/x-compressed .tgz
AddType application/x-zip-compressed .zip



Clearing Cache Top

If you are testing changes in the MIME type of your MIDI files, clear the disk cache by going to Network Preferences under the Options menu in Netscape. Otherwise Netscape will continue to use the old MIME types from the cache.


IMPORTANT ANNOUNCEMENT

LA InterWeb Hosting is now called Sedna Hosting, a division of Sedna Solutions

Visit the Sedna Hosting web site for more information about our hosting services.

Overview
Getting Started
Knowledge Base
Frequently Asked Questions
Current Network Status
Online Manuals
24/7 Help Desk


30 Day Money Back Guarantee!

Try It Now! Give our control panel a test drive!

Save Money! FREE Setup & 6 FREE Months of Hosting with every new web hosting account! Click for details.

Back to TopSite MapE-Mail This Page To A Friend
Search for a Domain Name
. Order Now! Start working in just 10 minutes!
Copyright © 2003 LA InterWeb. LA InterWeb, the LA InterWeb logo, and related marks are property of LA InterWeb. All other marks are the property of their respective owners. All rights reserved. Acceptable Use Policy. Privacy Statement.