主    站:www.darkcs.cn / darkcs.cn 
默认文件:default.aspx
用 户 站:*.darkcs.cn
默认文件:index.aspx
跳转文件:User/index.aspx现在的情况是用户站输入任意域名如:http://abc.darkcs.cn无法访问网站,但是输入http://abc.darkcs.cn/index.aspx可以正常跳转,如何解决?

解决方案 »

  1.   

    那你在IIS中设置index.aspx页面时默认页面。
      

  2.   


    设置了,好像要在web.config中设置的,不过不知道如何设置
      

  3.   

    刚才查了一下,是默认失效的问题,就是不知道在web.config里如何设置?我现在的设置: <RewriterConfig>
    <Rules>
    <!-- Rules for Blog Content Displayer -->
    <RewriterRule>
    <LookFor>~index\.aspx</LookFor> <!-- 找不到它,要在地址栏中输入才能认得到 -->
    <SendTo>~/User/index.aspx</SendTo>
    </RewriterRule>
    </Rules>
    </RewriterConfig>