从Web服务器处理外部服务器上的perl CGI

我有一个运行Perl的Web服务器(IIS)。 有什么办法卸载perl处理到外部服务器? 例如,我有server_a与各种网站,可能包括perl的CGI脚本。 我想要有server_b,以便在向server_a发出perl脚本的请求时,处理将卸载到server_b。

Adobe ColdFusion服务器在其Web连接器上具有此类function。 任何人都知道这样的事情的Perl?

除了Chris S提到的外,如果perl是由外部http命中触发的,你可以考虑这个

- Assume the hostname for the existing IIS perl server is `www.foobarme.local`. - Assume the hostname for the new perl offload server is `perl.foobarme.local` (you probably already know where I'm going at this point) - Rewrite your HTML to refer to `perl.foobarme.local`. 

完成。

您可以轻松地设置服务器A,以将某些请求代理到发生perl处理的服务器B. 你可以进入更复杂的scheme,但是我怀疑他们长期以来会做得很好。

这里是一个页面,说明如何正确设置反向代理和URL重写,使其实际工作:

http://blogs.iis.net/carlosag/archive/2010/04/01/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx