账号通
    

账号  

密码  

3329

查看

2

回复
主题:[反馈BUG]访问首页index.asp空白页的看这里 [收藏主题]  
yunxing 当前离线

41

主题

9

广播

3

粉丝
添加关注
级别:学前班

用户积分:167 分
登录次数:71 次
注册时间:2012/9/10
最后登录:2018/1/28
yunxing 发表于:2012/11/4 11:21:43   | 只看该作者 查看该作者主题 楼主 
科汛智能建站系统

首页

Const AllowSecondDomain=true       '是否允许开启空间二级域名 true-开启 false-不开启

改为不开启就可正常访问,这么严重的BUY官方居然不处理.是不是不让二级域名访问啊.

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
yunxing 当前离线

41

主题

9

广播

3

粉丝
添加关注
级别:学前班

用户积分:167 分
登录次数:71 次
注册时间:2012/9/10
最后登录:2018/1/28
yunxing 发表于:2012/11/4 11:46:14   | 只看该作者 查看该作者主题 沙发 
科汛在线商城系统(NET)

错在57行这句

(domain1="www" and domain=replace(lcase(KS.Setting(2)),"http://",""))

只要domain1="www"就OK,就看官方怎么改了

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
yunxing 当前离线

41

主题

9

广播

3

粉丝
添加关注
级别:学前班

用户积分:167 分
登录次数:71 次
注册时间:2012/9/10
最后登录:2018/1/28
yunxing 发表于:2012/11/4 14:43:50   | 只看该作者 查看该作者主题 藤椅 

临时解决办法来了

if Trim (domain1)="" or (domain1="www" and domain=replace(lcase(KS.Setting(2)),"http://","")) or (Request.ServerVariables("HTTP_HOST")="http://" & KS.Setting(2)) or ("http://" & lcase(Request.ServerVariables("HTTP_HOST"))=lcase(KS.Setting(2))) Then

  Call AppCls.HomePage() : Exit Sub

    Else

      '=====================这里定义其它系统非个人空间的二级域名转向,如论坛等=============================

      if instr(Request.ServerVariables("SERVER_NAME"),"bbs.38wl.com")>0 then

      response.redirect KS.GetDomain & "bbs/index.asp"

      elseif instr(Request.ServerVariables("SERVER_NAME"),"news.38wl.com")>0 then

      response.redirect KS.GetDomain & "news/"

      elseif instr(Request.ServerVariables("SERVER_NAME"),"help.38wl.com")>0 then

      response.redirect KS.GetDomain & "help/"

      end if

      '============================================================================

    End If



    if Trim(domain1)<>"" Then

     '=====================这里定义其它系统非个人空间的二级域名转向,如论坛等=============================

      if instr(Request.ServerVariables("SERVER_NAME"),"bbs.38wl.com")>0 then

      response.redirect KS.GetDomain & "bbs/index.asp"

      elseif instr(Request.ServerVariables("SERVER_NAME"),"news.38wl.com")>0 then

      response.redirect KS.GetDomain & "news/"

      elseif instr(Request.ServerVariables("SERVER_NAME"),"blog.38wl.com")>0 then

      response.redirect KS.GetDomain & "blog/"

      Else

        Call AppCls.HomePage() : Exit Sub

         end if

    End If



以官方修改为准

这是官方立马要解决的问题,不解决会跑许多新用户,首页都访问不了,谁还用



 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.53906秒 powered by KesionCMS 9.0