PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

How to specify mime types?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to specify mime types?

    I am using the server for a site that has videos. Some browsers are interpreting them as plain text and so they won't play. I saw the post about an undocumented mime type setting for the config file, but it is not working for me. Is there another (or correct) way to set the mime types?

  • #2
    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.

    Comment


    • #3
      I did your instruction it didnt work.

      Comment


      • #4
        PlayerUp, please, write more details.

        Comment


        • #5
          What format (and file extensions) are the video files?

          The above type was for audio / MIDI files. Some examples of video formats would be "video/mp4", "video/ogg", etc.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment

          Working...
          X