Skip to main content
Known Participant
Feb 14, 2017 8:20 PM UTC
Answered

File not found

I have a file uploaded to my site http://www.mysite.org/coned/media/106.mp4

I looked in the folder, the file is definitely there.

It's a new project, and there are only a couple of other files in the folder, one is an mp3 one is a wmv.  Both of those open.

This mp4 file is giving me a 404 error.

Any thoughts on why?

Thanks

    This topic is closed to new replies. Start a new post to keep the conversation going.
    haxtbhCorrect answer
    Inspiring
    Feb 15, 2017 8:52 AM UTC

    This is most likely because you are using IIS. IIS doesn't come with the MIME type of mp4 by default.

    I have had this issue loads of times and its pretty simple to sort out.

    Go to the IIS management console - select the server name on the left - choose the MIME Types from the right pane.

    If you do not see .mp4 there then you can add it using the following:

    Extension:       .mp4

    Mime Type:      video/mp4

    Check the sites individually to make sure its propagated down, normally it uses its parents defaults so appears in all the sites. If not, add it here as well.

    Naturally, if you only want this on one site, add it to that site directly.

    3 replies

    EddieLotter
    Inspiring
    Feb 14, 2017 11:37 PM UTC

    Is that a zero or the letter O?

    Try renaming the file to abc.mp4 and see if you can access it.

    Cheers

    Eddie

    Translate
    haxtbhCorrect answer
    Inspiring
    Feb 15, 2017 8:52 AM UTC

    This is most likely because you are using IIS. IIS doesn't come with the MIME type of mp4 by default.

    I have had this issue loads of times and its pretty simple to sort out.

    Go to the IIS management console - select the server name on the left - choose the MIME Types from the right pane.

    If you do not see .mp4 there then you can add it using the following:

    Extension:       .mp4

    Mime Type:      video/mp4

    Check the sites individually to make sure its propagated down, normally it uses its parents defaults so appears in all the sites. If not, add it here as well.

    Naturally, if you only want this on one site, add it to that site directly.

    Translate
    Known Participant
    Feb 15, 2017 5:37 PM UTC

    haxtbh  wrote

    This is most likely because you are using IIS.

    Thank you!

    Yes, this is a Windows server.

    Translate