web.cofig的设置(收集中)

来源:互联网 发布:php 抓取搜狗微信文章 编辑:程序博客网 时间:2024/05/29 03:58
 错误处理机制
?xml version="1.0"?
<configuration>
 <system.web>
  <customErrors mode
="On" defaultRedirect="GenericErrorPage.htm"
    <error statusCode
="403" redirect="Error403.htm" /
    <error statusCode
="404" redirect="Error404.htm" /
  <
/customErrors>
/system.web>
/configuration>
原创粉丝点击