Copied to clipboard

Flag this post as spam?

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


  • Nicky Christensen 76 posts 166 karma points
    Nov 30, 2011 @ 10:54
    Nicky Christensen
    0

    404 - File or directory not found.

    Hey guys...

    I've uploadet an .mp4 file to the media archive - When trying to access is on the server: http://mydomain.dk/media/13010/oceans-clip.mp4 - I just get an an error saying:

    404 - File or directory not found.

    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    However, if i take a look at the directory, the file is there???

  • Duncan McDougall 35 posts 62 karma points
    Dec 01, 2011 @ 13:57
    Duncan McDougall
    0

    Take a look at the mime types defined on the server. If a request is made for a filetype that the webserver doesn't recognise then you'll likley get a 404.

    I see this is a site runing on apache server so you should be able to define the mp4 mimetype in .htaccess in your website directory or in the mime.types file.

    Your mimetype for mp4 is video/mp4

  • Nicky Christensen 76 posts 166 karma points
    Dec 01, 2011 @ 14:10
    Nicky Christensen
    0

    Great, thx, that worked! :)

Please Sign in or register to post replies

Write your reply to:

Draft