页面不能正确redirect

所以我试图设置OWA,但我不希望我的用户必须inputhttps://exchange.foo.com/owa

我有httpredirect设置redirect到/ owa的所有请求,以便缩小到https://exchange.foo.com/

我不认为我的用户每次想要访问他们的邮件都足够聪明,就可以在http末尾input“s”。 我希望它redirect到完整的url与“https”和所有

我读过这告诉我,我应该能够使用HTTPredirectredirect到https://exchange.foo.com/owa所有stream量,如果我只是input页面的绝对path。 当我这样做,我得到一个错误,说该网页没有正确的redirect。

所以我做了一个URL重写。 我下载IIS的URL重写模块,并按照这里列出的说明。 该页面完全redirect! 然后,我将login到基于表单的身份validation和popup相同的错误 – 页面不正确redirect。

有人能给我一个适合他们的解决scheme吗?

我认为你会让这个过程复杂得多。

在默认网站的根目录下,只需粘贴以下HTML代码。 当用户浏览http(s)://exchange.foo.com他们将被redirect到安全的OWA页面。

 <html> <head> <title>Just a second...</title> <meta http-equiv="refresh" content="0;url=https://exchange.foo.com/owa/" > </head> <body> <h1>Just a second while you are redirected to foo.com's webmail...</h1> </body> </html>