将404.htm放置到通过\HttpErrors\目录下,nodata.jpg放置到站点根目录下。访问任意不存在的文件进行测试。 注:nodata.jpg不要放置到HttpErrors目录下,否则图片无法显示