更简单的<%@ Page language="vbscript" %>
<%
dim domainname,result
domainname=Request.ServerVariables("SERVER_NAME")
result=right(domainname,12)
if result="www.wlwww.net" then
%>
<!--#include file=index.asp -->
<%
Elseif result="bbs.wlwww.net" then
%>
<!--#include file=bbs/index.asp -->
Else
%>
<%
End if
%>