【问题标题】:IIS Redirect RequestIIS 重定向请求
【发布时间】:2021-11-25 00:39:43
【问题描述】:

我在 IIS 8 中配置了一个站点名称 WebPortal:

绑定是:

现在,我可以使用https://portal.xxx.ch/WebPortal 拨打该网站

有人可以帮助我,我必须做什么,我也可以直接用https://portal.xxx.ch 调用它吗?

非常感谢。

【问题讨论】:

    标签: redirect iis


    【解决方案1】:

    您可以在 IIS 根目录的默认文件 (index.html) 中添加重定向。在下面添加应该可以。确保 index.html 是 IIS 根目录的默认文件。

    <!DOCTYPE html>
    <html>
        <head>
            <meta http-equiv="refresh" content="0; url=/WebPortal" />
        </head>
        <body>
        </body>
    </html>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-10-19
      • 2018-11-29
      • 1970-01-01
      • 1970-01-01
      • 2012-08-12
      • 1970-01-01
      • 2020-10-31
      • 1970-01-01
      相关资源
      最近更新 更多