web.config

<system.web>中配置

<customErrors mode="On" defaultRedirect="error.html">
<error statusCode="403" redirect="error.html" />
<error statusCode="404" redirect="error.html" />
</customErrors>

 

posted on 2016-04-11 17:20  御不凡  阅读(289)  评论(0编辑  收藏  举报