帮助我。不能在服务器中找到第一页? [英] help me.can not find first page in server?

查看:41
本文介绍了帮助我。不能在服务器中找到第一页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我有一个服务器名称:iraneset.com

我有一个网站构建文件。源代码不可用。实际上,当站点出现时,组成站点的所有子目录和文件。主页不显示在网站上。

我的问题在哪里?谢谢。

解决方案

您需要在IIS中为当前虚拟服务器设置默认文档。

设置您要加载的页面的名称。



Ex:test.aspx



将名称移到第一位。



或者您可以在Web中设置相同的内容。

这将是在IIS 7或更高版本中工作



 <   system.webserver  >  
< < span class =code-leadattribute> defaultdocument >
< 文件 >
< clear / >
< add value = CreateThing.aspx / >
< / files >
< / defaultdocument >
< / system.webserver >





但您需要将管道设置为集成在IIS中。


Hello to all.
I have a server name:iraneset.com
I have a site build files. Source code is not available. Indeed, when the site comes up, all subdirectories and files that make up the site. Homepage does not display on the site.
Where is my problem? Thank you.

解决方案

you need to set the default Document in IIS for your current virtual server.
set the name of the page that you want to load.

Ex : test.aspx

Move the name to first.

Or you can set the same in the Web.Config
this will work in IIS 7 or later

<system.webserver>
  <defaultdocument>
    <files>
      <clear />
      <add value="CreateThing.aspx" />
    </files>
  </defaultdocument>
</system.webserver>



But you need to set the Pipeline as integrated in the IIS.


这篇关于帮助我。不能在服务器中找到第一页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆