The MIME Types configuration file determines how your Virtual Server's
web server maps filename extensions to MIME types which are returned to
the browser. Your browser then maps these MIME types to "helper"
applications or in-line plug-ins. The Default MIME Types The default MIME type configuration file includes a definition of the
most common known MIME types. The default MIME
types file is located in your Adding a New MIME Type There are two ways in which you can add a new MIME type to your default
MIME types configuration file. You can either connect to your Virtual
Server using Telnet and edit the file directly on your Virtual Server
(using Your MIME types file is located in the same directory as your other web
server configuration files, namely in your cp mime.types mime.types.bak
Making backups of files before you modify them is always a good idea. The format of the MIME types configuration file is pretty simple. Lines beginning with a "#" are comment lines, i.e. they are ignored by the web server. Each MIME type line consists of: type/subtype extension1 extension2 ... extensionN
where "type/subtype" is the MIME type of the document whose filename ends with one of the extensions listed. The extension list can include any number of space separated filename extensions. Examples of MIME type entries can be found in the default MIME types file included with your Virtual Server setup. If you decide to download your MIME types file using an FTP client, you should note that your MIME types file is an ASCII file and as such should be transferred (both downloaded and uploaded) in ASCII format not BINARY. Uploading your MIME types file in BINARY format may cause your web server to not function normally and in some cases, cease to function. Therefore, care should be taken in this regard. Most popular FTP clients allow you to select the file transfer mode.
| ||||||||