且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

asp.net自定义错误页面和不带扩展名的文件

更新时间:2022-12-11 15:11:32

尝试

Try adding a wildcard application extension that maps to the aspnet_isapi.dll.

没有该映射,请求将永远不会到达aspnet dll进行处理,并且将返回默认的IIS 404页面.

Without that mapping, requests will never hit the aspnet dll for processing and the default IIS 404 page will be returned.