本文介绍了MVC3,IIS 7.5,背后负载平衡器/防火墙服务器,窗体身份验证重定向到http:// [机器的ip地址]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数百命中为这些关键字,但没有什么是完全相关的。

hundreds of hits for these keywords, but nothing that is totally relevant.

所以,我的Web服务器是负载平衡器后面。该网站是由SSL暴露出来。

So my web server is behind a load balancer. The web site is exposed by SSL.

当我打开登录页面的https [MYDOMAIN] /app/somepage.aspx,我重定向到http:// /app/somepage.aspx [服务器的IP地址]

When I open my logon page https[mydomain]/app/somepage.aspx, I am redirected to http://[ip address of server]/app/somepage.aspx.

我试过follwing

I tried the follwing


  • 的loginurl设置为https [MYDOMAIN] /app/somepage.aspx,不工作

  • 试图与在IIS中绑定摆弄,但有这迫使我们使用APPCMD设置主机名的问题,但没有任何工程后,我将它设置。

建议?

感谢

推荐答案

这听起来更像是一个负载平衡器配置错误,或者你的负载均衡只是不能够使用转发相同的URL请求。这似乎是你的负载平衡器MROE代理,并且正在创造只使用IP地址的新请求。最体面的负载均衡器应该有转发的主机名的选项。

This sounds more like a load balancer configuration error, or maybe your load balance just isn't capable of forwarding the request using the same url. It seems like your load balancer is mroe of a proxy, and is creating a new request using only the IP address. Most decent load balancers should have an option for forwarding the hostname.

这可能更多的是Serverfault问题,因为它更多的是与负载平衡器配置。

This might be more of a Serverfault question because it has more to do with load balancer configuration.

这篇关于MVC3,IIS 7.5,背后负载平衡器/防火墙服务器,窗体身份验证重定向到http:// [机器的ip地址]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 07:47