高性能双线全能型主机
10G光纤直入ChinaNET核心
功能强大的全实时控制中心
域名自由绑定
自由更改空间域名绑定
自由设置默认首页
在线压缩解压
行业内首家提供7秒钟响应服务
多服务器主机客户群服务
软硬件/透明防火墙三重保障
特有抗病毒内核
7X24小时全天后客户服务
    404错误页面怎么设置
 

假如是虚构主机中要设置404错误的页面
请用动态页面asp或PHP,多么本事精确放回404粗偶的消息,设置为html或htm返回的是200消息
在asp代码上加入:
<%Response.Status = "404 Not Found"%>


在PHP代码上加入:
<?php
header('HTTP/1.1 404 Not Found');
?>

就能了

如:
<?php

header('HTTP/1.1 404 Not Found');

?><html>

<head>

<META http-equiv=Content-Type content="text/html; charset=gb2312">

<meta http-equiv="refresh" content="2;URL=http://www.sv11.cn/">

<title>404 Not Found</title>

<style type="text/css">

<!--

.t {

font-family: Verdana, Arial, Helvetica, sans-serif;

color: #CC0000;

}

.c {

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 11px;

font-weight: normal;

color: #000000;

line-height: 18px;

text-align: center;

border: 1px solid #CCCCCC;

background-color: #FFFFEC;

}

body {

background-color: #FFFFFF;

margin-top: 100px;

}

-->

</style>

</head>

<body>

<div align="center">

<h2><span class="t">404 Not Found</span></h2>

<h2><span class="t">你查找的页面不具备或转移请浏览本站首页</h2>

<table border="0" cellpadding="8" cellspacing="0" width="460">

<tbody>

<tr>

<td class="c">The requested URL was not found on this server.</td>

</tr>

</tbody>

</table>

</div>

</body>

</html>