<?php
switch ($_SERVER["HTTP_HOST"])
{
case "huaxiren.cn":
header("location:supesite/index.php");
break;
case "www.huaxiren.cn":
header("location:supesite/index.php");
break;
case "bbs.huaxiren.cn":
header("location:bbs/index.php");
break;
case "wiki.huaxiren.cn":
header("location:wiki/index.php");
break;
case "home.huaxiren.cn":
header("location:home/index.php");
break;
case "nic.welos.cn":
header("location:supesite/index.php");
break;
case "home.welos.cn":
header("location:home/index.php");
break;
case "bbs.welos.cn":
header("location:bbs/index.php");
break;
case "wiki.welos.cn":
header("location:wiki/index.php");
break;
case "192.168.0.250":
header("location:replace.htm");
break;
default:
header("location:supesite/index.php");
break;
}
?>