Mime TypesMime TypesYour Virtual Server will support numerous Mime types. Below is a list of Mime types that can further enhance your Virtual Server. Server Pre-Configured Mime
Types
Server Pre-Configured Mime Types An alphabetical listing of mime types supported on your Virtual Server.
How To Add a Mime Type
virtual: {2} % cd www/conf
virtual: {4} % ls -CFa
./ access.conf imagemap.conf sitevars
../ httpd.conf mime.types srm.conf
virtual: {5} %
Make a backup copy of the configuration file. In telnet this is easy to do, simply type: cp mime.types mime.types.bak In ftp, depending on your system, you may need to download the file and re-upload it as something else. Note, the number one cause of problems when editing configuration text files is they are downloaded and uploaded in BINARY, not ASCII. This is the predominate reason we specify to make a backup, but if you upload and download your backup in BINARY as well, you have defeated the purpose. The above telnet cp command does not have this problem. If using FTP, ensure that you specify "ASCII" text specifically for uploading and downloading this and all text files. Download mime.types. Specify ASCII text for the download. Add the mime type to the file. Some types you might want to add: audio/x-midi mid midi audio/x-pn-realaudio rm ra ram audio/x-pn-realaudio-plugin rpm Upload the file, specify "ASCII" text. With telnet, you can use an online editor such as "pico" or "vi" to edit the text. Add the mime type and save the file.
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. Need More Information on a Specific
Mime Type? |
Copyright © 1996-2000, Last Modified: 21 January 2000A Little Technology Shoppe, LLC (ALTS.NET)®. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.