同一空间绑定多域名的ASP、PHP代码

2006-02-26 服 务 器 / 程序代码 1042 阅读 0 评论

一个绑定多域名的ASP代码

第一个
程序代码:

第二个
程序代码:

第三个
程序代码:

0 then
response.redirect "index.asp"
else if instr(Request.ServerVariables("SERVER_NAME"),"bbb.com")>0 then
response.redirect "x/index.asp"
else if instr(Request.ServerVariables("SERVER_NAME"),"ccc.com")>0 then
response.redirect "index3.asp"
end if
end if
end if%>

第四个
程序代码:

一个绑定多域名的PHP代码
第五个:

第六个:

本文链接:https://blog.clang.cn/166.html

版权声明:转载请注明出处。

评论 (0)

评论已关闭