请教
181 2003-07-28 08:50:06 在web.config文件中设置如下:
<customErrors defaultRedirect="commonerror.htm" mode="On" >
<error statusCode="404" redirect="notfound.htm" />
</customErrors>
在IE地址栏中输入search.aspx文件的时候可以指向notfound.htm文件,而输入
search.asp或者search.htm则出现不友好的404提示