From: Ken Coar Date: Sun, 4 May 1997 14:43:08 +0000 (+0000) Subject: Add FAQ&A about MIDI files. X-Git-Tag: APACHE_1_2b11~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1c24f8406b1549da31b143c72adbe7d4671a31a;p=apache Add FAQ&A about MIDI files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78088 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/misc/FAQ.html b/docs/manual/misc/FAQ.html index 13208c7015..69b251d566 100644 --- a/docs/manual/misc/FAQ.html +++ b/docs/manual/misc/FAQ.html @@ -8,7 +8,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.49 $ ($Date: 1997/05/01 05:59:51 $) + $Revision: 1.50 $ ($Date: 1997/05/04 14:43:08 $)

The latest version of this FAQ is always available from the main @@ -58,8 +58,6 @@ - - @@ -166,6 +164,9 @@

  • Why do I get core dumps under HPUX using HP's ANSI C compiler?
  • +
  • How do I get Apache to send a MIDI file so the + browser can play it? +
  • @@ -1183,6 +1184,39 @@ optimiation has fixed these problems.


    + +
  • + How do I get Apache to send a MIDI file so the browser can + play it? + +

    + Even though the registered MIME type for MIDI files is + audio/midi, some browsers are not set up to recognize it + as such; instead, they look for audio/x-midi. There are + two things you can do to address this: +

    +
      +
    1. Configure your browser to treat documents of type + audio/midi correctly. This is the type that Apache + sends by default. This may not be workable, however, if you have + many client installations to change, or if some or many of the + clients are not under your control. +
    2. +
    3. Instruct Apache to send a different Content-type + header for these files by adding the following line to your server's + configuration files: +
      +
      AddType audio/x-midi .mid .midi .kar +
      +
      +

      + Note that this may break browsers that do recognize the + audio/midi MIME type unless they're prepared to also + handle audio/x-midi the same way. +

      +
    4. +
    +