<%
if request.ServerVariables("HTTP_HOST")<>"www.qdfuke.com" then
if Request.ServerVariables("SCRIPT_NAME")="/index.asp" then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","www.qdfuke.com"
else
if Request.ServerVariables("QUERY_STRING")<>"" then
p="?"
else
p=""
end if
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.qdfuke.com"&Request.ServerVariables("SCRIPT_NAME")&p&Request.ServerVariables("QUERY_STRING")
Response.End
end if
end if
%>