将视频放在Azure网站上的问题“您正在查找的资源已被删除,名称已更改或暂时不可用" [英] Problem to put Video on Azure Website "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable"

查看:165
本文介绍了将视频放在Azure网站上的问题“您正在查找的资源已被删除,名称已更改或暂时不可用"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的支持

我们需要在我们的网站上添加视频,但是我们遇到了问题.

我已经无法通过Wordpress上传超过8mo的内容(尽管我将设置更改为150mo),即使我通过FTP放置了视频,服务器也会向我拉出404:

https://ourwebsite/wp-content/uploads/AiM2018.mp4……

我确认我们使用的是正确的文件夹

我们应该从住宿的角度来看待,因此要看Azure评级.

每次相同的消息(您要查找的资源已被删除,名称已更改或暂时不可用.)

有什么可以帮助我们的吗?

We need to add video on our website but we have a problem.

Already I cannot upload more than 8mo via Wordpress (though I changed the settings to 150mo) and even if I put the video via FTP, the server pulls me a 404:

https://ourwebsite/wp-content/uploads/AiM2018.mp4 … …

I confirm we are using the right folder

We should look at the side of our accommodation and therefore the Azure rating.

Every time same message (The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.)

Is it possible to help us ?

非常感谢您的帮助

注意

推荐答案

通常,您需要在web.config中添加自定义的mime类型以提供mp4文件,并查看是否它有助于:

Typically, you need to add a custom mime type in the web.config to serve the mp4 file and see if it helps:

< system.webServer>

   <system.webServer>

< staticContent>

      <staticContent>

< mimeMap fileExtension = mimeType = />

           <mimeMap fileExtension=".mp4" mimeType="video/mp4" />

< clientCache cacheControlMode = cacheControlMaxAge = />

           <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />

</staticContent>

      </staticContent>

</system.webServer>

   </system.webServer>

您似乎在利用Azure App服务 WebApp s,它分配了一个 azurewebsites.net 转到您的网站,请告知我们是否还有其他应用类型用于说明.

It appears that you are leveraging Azure App Service WebApps, it assigns a subdomain of azurewebsites.net to your site, do let us know if it’s some other app type just for clarification.

如果问题仍然存在,则要获取有关子状态代码的更多详细信息,您可以参考博客   以获取详细步骤.

If the issue still persist, to get more details on the sub status code, you may refer the blog  The webpage cannot be found (404) when accessing a file on Azure App Services Web App for a detailed steps.


这篇关于将视频放在Azure网站上的问题“您正在查找的资源已被删除,名称已更改或暂时不可用"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆