为什么说服务器 - 404 - 文件或目录未找到。而文件存在吗? [英] Why Server says - 404 - File or directory not found. while file exist?
问题描述
我想用的Flowplayer和ASP.NET播放的MP4文件。
放在我的位置的视频文件:
I want to play an mp4 file using flowplayer and ASP.NET. my video file placed at location :
http://domain.com/website/files/dd/dd21f5c6-8721-4f12-81a7-0afb9d7d7bfa.mp4
但我的球员流动不播放该文件。
but my flow player don't play the file.
当我输入地址栏这个地址我得到以下错误:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
该文件中指定的路径中。
The file exist in the path specified.
谁能帮助我这个问题?
感谢
推荐答案
有是您的Web服务器没有被配置为服务于MP4文件的好机会。您可以将MIME类型添加到您的服务器。
There is a good chance your webserver is not configured to serve mp4 files. You can add the mime type to your server.
在这里,您可以了解如何在Windows中执行此IIS 7的 http://technet.microsoft.com/nl-nl/library/cc753281(v = ws.10)的.aspx
Here you can read how to do this in windows IIS 7 http://technet.microsoft.com/nl-nl/library/cc753281(v=ws.10).aspx
此外,一个更好的链接可能:
的http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.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
这篇关于为什么说服务器 - 404 - 文件或目录未找到。而文件存在吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!