[英]ASP.NET Proxy Application
Let me try to explain what I need.让我试着解释一下我需要什么。 I have a server that is visible from the internet.
我有一个可以从互联网上看到的服务器。 What I need is to create a ASP.NET application that get the request of a web Site and send to a internal server, then it gets the response and publish the the info.
我需要的是创建一个 ASP.NET 应用程序来获取网站的请求并发送到内部服务器,然后它获取响应并发布信息。 For the client this should be totally transparent.
对于客户来说,这应该是完全透明的。
For different reasons I cannot redirect the port to the internal server.由于不同的原因,我无法将端口重定向到内部服务器。 What I can do but no know how - maybe the answer is there - is to create a new Web Site that its host in the other server.
我能做的但不知道怎么做——也许答案就在那里——是创建一个新的网站,它在另一台服务器上托管。
Why won't any old proxy software work for this?为什么旧的代理软件对此不起作用? Why does it need to be an ASP.NET application?
为什么它需要是一个 ASP.NET 应用程序? There are TONS of tools out there (both Windows and *nix) that will get the job done quite easily.
有大量的工具(包括 Windows 和 *nix)可以很容易地完成工作。 Check Squid or NetProxy for starters.
为初学者检查Squid或NetProxy 。
If you need to integrate with IIS, IISProxy looks like it would do the trick too.如果您需要与 IIS 集成, IISProxy看起来也能解决问题。
I use apache mod_proxy and mod_proxy_balancer.我使用 apache mod_proxy 和 mod_proxy_balancer。 Works awesome running 5 domains a cluster of 4 web boxes.
运行 5 个域,一个由 4 个 web box 组成的集群,效果非常好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.