HTTPS的asp.net网站的代理服务器? [英] https on proxy server for asp.net web site?

查看:135
本文介绍了HTTPS的asp.net网站的代理服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有简单的asp.net web服务已登录方法及其部署在IIS服务器的URL为 http://sitename.domain.org:9111/membership/membershipdir.asmx

I have simple asp.net webservice has login method and its deployed on IIS server url is http://sitename.domain.org:9111/membership/membershipdir.asmx.

我的网络团队创建的代理服务器上的SSL代理URL(我认为这是阿帕奇)对于本网站服务site.Now Web服务能够通过这样的代理访问 https://www.domain.org /webservices/spws/Membership/membershipdir.asmx

My network team created a SSL proxy url on proxy server (i think it is apache) for this web service site.Now webservice can access through proxy like this https://www.domain.org/webservices/spws/Membership/membershipdir.asmx.

它工作正常,但是当我调用web服务方法。结果窗口的URL显示在 http://servername.domain.org:9111/Membership/membershipdir.asmx/Login

It works fine but when I invoke the webservice method. the result window url showing on http://servername.domain.org:9111/Membership/membershipdir.asmx/Login

现在网络小组抱怨端口9111仍暴露给公众的登录部分。一些具有在应用程序来改变。我不理解,我应该在应用层面改变。

Now network team complaining the port 9111 still exposes to public for the login portion. something has to change in application. I am not understanding what should I change in application level.

我也不理解为什么与服务器名称不显示代理名称的结果?

I am also not understanding why results on showing with server name without proxy name?

任何人有任何线索?

推荐答案

查看:<一href=\"http://stackoverflow.com/questions/61817/whats-the-best-method-in-asp-net-to-obtain-the-current-domain\">What's在ASP.NET中最好的方法来获取当前域?来一直使用的用户取得的初步请求到同一个域。

Check out: What's the best method in ASP.NET to obtain the current domain? to always use the same domain the user made the initial request to.

现在,我不知道有关代理服务器的情况......如果代理服务器进行任何更改,应该做在回来的路上出了相反的...所以我真的不能给说话问题......但是,不管,请确保您使用的是原始请求域或者通过使用相对路径,或在连接到上面的问题的方式。

Now, I'm not sure about the proxy server situation... if the proxy server is making any changes, it should be doing the opposite on the way back out... so I really can't speak to that problem... but, regardless, make sure you are using the original request domain by either using relative paths, or by the method in the Question linked to above.

这篇关于HTTPS的asp.net网站的代理服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆