BigNoseBird.Com- home Small Logo
The 508 compliant Guide to 
       Big Nose Bird
BACK
WARNING: Be very careful editing your server configuration or .htaccess files. Even a minor typographical error can make your site unusable! Always make a backup copy of any file so you can recover quickly.

How can I add MIME types, such as for MIDI files to my APACHE server configuration?

Although APACHE out of the box comes supplied with a rather full set of MIME types, the one for MIDI (music) files doesn't work with Netscape. There are two ways to correct this problem.

If you have permission to edit the master configuration files

Edit the file mime.types file and do the following:

Find this line.

audio/midi mid midi kar

Remove the mid so it looks like this:

audio/midi midi kar

Now, add the following line to the file.

audio/x-midi mid

If you ever need to add a new MIME type to your server, this is how you do it. Look over the mime.types file to see all of the MIME types your server supports.

Adding a MIME type using .htaccess

If you cannot modify your master configuration files, relax. Simply edit the .htaccess file located in your main HTML directory. If you do not have this file, feel free to create it!

To enable the proper MIDI MIME type, just add the following line:

AddType audio/x-midi mid



Find or Give Help on the BBS
 
Home Top E-Mail
If it looks great, it's by Christine
Some Fine Print
© 1997-2003 BigNoseBird.Com®, Inc. All rights reserved. All other trademarks are the sole property of their respective owners. The products that we recommend are only ones that we use. We have no relationship with any of the authors or their companies. We cannot assume responsibility for their ultimate performance or lack of same. We also cannot assume responsibility for either any programs provided here, or for any advice that is given since we have no control over what happens after our code or words leave this site. Always use prudent judgment in implementing any program- and always make a backup first! For further information, please read our Privacy Statement. We can be contacted at webmaster@bignosebird.com.


<reallybig.com>
Web Builder Network Portal
Advertise
on the
Reallybig.com
Network
BigNoseBird Newsletter
Subscribe
Un-Subscribe


Sign up today to receive our low volume newsletter. Tips, tricks, news, and whatever else crosses our minds.
Back Issues
Privacy Statement