Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chau 66 posts 97 karma points
    Apr 08, 2010 @ 19:36
    Chau
    0

    Linking to odt files in the media section

    4.0.3

    I have a odt file created in openOffice that I can not link to from my blog. Whenever I try to link to the file Umbraco serves up a 404 error. I replaced the file in the node with a PDF and it work just fine. I tried renaming the file to something simpler and it still didn't work.

    Any ideas?

    Thanks,

    Chau

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 08, 2010 @ 21:11
    Jan Skovgaard
    2

    Hi Chau

    It's probably because either the mime type has not been set in IIS or that it is a file extension that is not allowed. But I think it's the former.

    The mime-type can be added to IIS and I think it's "application/vnd.oasis.opendocument.text" for .odt files...(at least that's what I found googling ;-))

    Once the mime-type has been added you should be able to get the file.

    /Jan

  • Chau 66 posts 97 karma points
    Apr 18, 2010 @ 17:07
    Chau
    0

    Thank you Jan!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies