Asp.net - Web.Config - Custom Errors

前端 未结 4 1911
轻奢々
轻奢々 2021-01-20 09:49

How can I set 404 and other error pages using web.config? I have tried adding following block in web.config.

     

        
4条回答
  •  猫巷女王i
    2021-01-20 10:10

    It looks like you're using a relative path there. Could that be the problem?

    Try using Fiddler to see what page your browser is being redirected to.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题