Why Server says - 404 - File or directory not found. while file exist?

给你一囗甜甜゛ 提交于 2019-12-06 06:31:16

There is a good chance your webserver is not configured to serve mp4 files. You can add the mime type to your server.

Here you can read how to do this in windows IIS 7 http://technet.microsoft.com/nl-nl/library/cc753281(v=ws.10).aspx

addition, a better link maybe: http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx

Some hostingproviders place another .htaccess file deep somewhere in your media library, which in my case contained this:

<Files *.php>
deny from all
</Files>

Removing this file did the trick for me.

Docs: http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#Deny

Reasons for this error are: 1. File may not be in the specified location. 2. The server may not recognize the specified type of file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!