【问题标题】:Page URL redirects in IISIIS 中的页面 URL 重定向
【发布时间】:2012-10-02 06:29:28
【问题描述】:

如果请求仅来自 www.firstsite.com/Login.aspx,则需要我的客户端加载网页 (www.secondsite.com/Page1.aspx)。

其他明智的客户端客户端应该被重定向回 www.secondsite.com/page1.aspx

我可以使用 IIS 7 或任何其他方式实现此目的吗?我在 IIS 中尝试过 URL 重写模块,但我只设法限制对 www.firstsite.com/Login.aspx 的访问并将 thr 请求重定向到 www.firstsite.com/Login.aspx。但无法在 IIS 中实现上述行为。请帮忙

【问题讨论】:

    标签: asp.net url iis url-rewriting response.redirect


    【解决方案1】:

    有可能,请参阅explanation here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-05-03
      • 2017-03-18
      • 1970-01-01
      • 1970-01-01
      • 2021-06-23
      • 2014-04-21
      • 1970-01-01
      相关资源
      最近更新 更多