IIS 404 Custom Error not working as expected

后端 未结 4 583
被撕碎了的回忆
被撕碎了的回忆 2020-12-20 13:13

I\'m working on IIS6, ASP.NET, VS2008. The web site uses a custom error handler to catch 404 errors and serve an alternate page. When presented with an url of the form:

4条回答
  •  生来不讨喜
    2020-12-20 13:54

    ASP.Net has a custom errors configuraiton of its own.

    Go to the ASP.Net configuration of your virtual directory (web application) and right-click -> ASP.Net -> Edit Configuration -> Custom Errors.

提交回复
热议问题