SID-02134: UModel attachments in TWiki
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
5.8.8 built for aix-thread-multi |
| Category: |
CategoryAttachments |
Server OS: |
AIX 6.1.0.0 |
Last update: |
10 years ago |
$VERSION = '$Date: 2010-10-10 22:55:49 -0700 (Sun, 10 Oct 2010) $ $Rev: 19570 (2010-10-10) $ ';
$RELEASE = 'TWiki-5.0.1';
I have an odd problem. I've attached a UML model created in Altova UModel to a TWiki page but when I try to open it I get a display of the xml in the file instead of it opening UModel to display it. The file association exists in the file manager because if I double click the file, it will open in UModel. If I try to open a .docx or other xml attachment in TWiki it works fine. How do I tell TWiki to associate the .ump file extension with the UModel program?
--
Chris Krum - 2015-12-15
Discussion and Answer
You need to define the proper mime type for that .ump file on the server. Check the
{MimeTypesFileName} configure setting, the default points to
twiki/data/mime.types. Tweak that file.
--
Peter Thoeny - 2015-12-15
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.