繁体   English   中英

Azure网站上的自定义404

[英]Custom 404 on Azure Websites

我已经通过GitHub托管了Azure网站,并希望创建一个自定义的404页面。
我的VisualStudio2013已连接到Azure。 如何访问web.config?
如果我想通过FTP进行操作-如何使用VS2013访问它?
是否可以通过Azure门户设置自定义404?

目前,我得到了standardpage:

Error 404 - Web Site not found!

The website you have attempted to reach is
not available in this Microsoft Azure Web Sites
region. This could be due to one of several
reasons:

只需在Visual Studio解决方案中编辑web.config文件,修改customErrors部分,然后将其检入Github中即可触发新部署。 Azure文档站点提供了完整的示例

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM