0

我正在寻找是否存在用于设置位于重定向代理系统后面并使用 svn+ssh 的颠覆存储库的现有解决方案。

例子:

+BeS1-+  +BeS2-+ 
|repo1|  |repo2|
+-----+  +-----+ 
     \       /
   +-FeSys------+
   | redirector |-+
   +------------+ |    <== clients point to the FeSys and the redirector
     +------------+        proxies to the correct backend.

   client: svn+ssh://FeSys/repo2/trunk/blah blah gets "served" by BeS2
   client: svn+ssh://FeSys/repo1/trunk/blah blah gets "served" by BeS1

客户从不直接与 BeS1 和 BeS2 系统对话。FeSys 是具有通用虚拟主机名(冗余和负载平衡)的系统集合

目前使用自定义 rewritemap 程序和 apache 代理来执行此操作。

我现在正在考虑尝试对 svnserve 做同样的事情(基本上是在寻找“重定向器”部分的想法)。

4

0 回答 0