ASP的 以后有用
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.baidu.com/"
Response.End
%>