【问题标题】:How to set startup page for a spcific folder only?如何仅为特定文件夹设置启动页面?
【发布时间】:2011-12-07 07:10:46
【问题描述】:

以下是我发布的网络应用程序...

我的根应用程序(http://test.smt.com)

我的根应用程序也包含一个虚拟目录 (http://test.smt.com/console)

Root

  Folder 1(with 1.config)
  Folder 2(with 2.config)
  Folder 3(with 3.config)
  Folder 4(with 4.config) // I've created this directory as virtual dir

root.config

现在我遇到的问题是,当我输入 http://test.smt.com/console 时,目录正在列出

我们可以为这个特定的页面文件夹设置启动吗?怎么样?

【问题讨论】:

    标签: c#-4.0 web-config asp.net-4.0


    【解决方案1】:

    尤里卡!

    打开您的 IIS 并右键单击文件夹,然后设置启动页面并享受!!!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-01-26
      • 2021-03-19
      • 1970-01-01
      • 1970-01-01
      • 2010-11-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多