https https httpshttpshttpshttpshttpshttpshttpshttpshttps

tao_xue_jun 2009-08-19 04:56:23
'本次序版权所有:道贺付出平台(http://www.168reg.cn/),如需转载,请{please}注明发源。
'asp源程序:采纳301永世重定向技能将http联接直接跳转至https联接,带get参数传送。
'判断是否为[wei]https联接,要是不是,改为[wei]https联接
ishttps=request.servervariables("https")
ifishttps="off"then
domain_name=
request.servervariables("server_name")
page_name=
request.serv|锁具博客|寻类|vervariables("script_name")
quary_name=request.querystring
ifquary_name=""then
cur_url="https://"&domain_name&page_name
else
cur_url="https://"&domain_name&page_name&"?"&quary_name
endif
response.status="301movedpermanently"
response.addheader"location",cur_url
response.end
endif
锁具博客|寻类|
...全文
264 回复 打赏 收藏 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

62,620

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧