asp识别域名跳转代码

[ 2022-04-24 23:27:44 | 作者: 杨晓超 ]
: | |
Dim cURL
cURL=Request.ServerVariables("SERVER_NAME")
if cURL<>"www.yangxiaochao.com" then
Response.Redirect("http://www.yangxiaochao.com/")
Response.End
end If

评论Feed 评论Feed: http://www.yangxiaochao.com/feed.asp?q=comment&id=158

这篇日志没有评论.

发表
表情图标
[smile] [confused] [cool] [cry]
[eek] [angry] [wink] [sweat]
[lol] [stun] [razz] [redface]
[rolleyes] [sad] [yes] [no]
[heart] [star] [music] [idea]
UBB代码
转换链接
表情图标
悄悄话
用户名:   密码:  
验证码 * 请输入验证码