Find the answer to your Linux question:
Results 1 to 2 of 2
On a RHEL5.2 system running MediaWiki 1.13.3, I've bumped into a problem. A couple of PowerPoint files that users attempted to upload to the wiki were rejected with a message ...
  1. #1
    Linux Newbie jnojr's Avatar
    Join Date
    Sep 2007
    Posts
    105

    Problem with MIME types

    On a RHEL5.2 system running MediaWiki 1.13.3, I've bumped into a problem.

    A couple of PowerPoint files that users attempted to upload to the wiki were rejected with a message about the files being corrupt. They are, of course, not corrupt at all... they open just fine. MediaWiki is set to use the 'file' command to test files. However...

    [root@server wiki]# file --brief --mime images/presentation.ppt
    application/msword

    The only reference to "msword" in /etc/httpd/conf/mime.types:

    application/msword doc dot

    And the only reference to ppt:

    application/vnd.ms-powerpoint ppt pps pot


    So... why is this file being referred to as "msword"???

  2. #2
    Linux Newbie jnojr's Avatar
    Join Date
    Sep 2007
    Posts
    105
    Nobody has any idea how MIME works?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...