[svnbook] r5808 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Thu Oct 25 10:06:15 CDT 2018


Revision: 5808
          http://sourceforge.net/p/svnbook/source/5808
Author:   wuzhouhui
Date:     2018-10-25 15:06:11 +0000 (Thu, 25 Oct 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch06-server-configuration.xml

Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml	2018-10-24 15:27:17 UTC (rev 5807)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-10-25 15:06:11 UTC (rev 5808)
@@ -7439,6 +7439,7 @@
         的仓库路径.</para>
 
       <warning>
+      <!--
         <para>The differences in the ways that a repository's name is
           determined by each of <command>mod_dav_svn</command>
           and <command>svnserve</command> can cause problems when
@@ -7454,6 +7455,17 @@
           <literal>SVNParentPath</literal>, or by using a different
           access file per repository so that section names needn't
           reference the repository at all.</para>
+      -->
+        <para>如果同时通过 Apache 服务器与 <command>svnserve</command> 为
+          同一个仓库服务, 那么 <command>mod_dav_svn</command> 与
+          <command>svnserve</command> 决定仓库名的不同之外将会带来问题.
+          通常情况下, 管理员更喜欢为两种服务器配置同一个访问规则文件, 然而,
+          为了能让访问规则文件正常工作, 管理员必须确保访问规则文件里的仓库
+          名对于两种服务器而言都是兼容的—例如把
+          <command>svnserve</command> 的根目录配置成和
+          <command>mod_dav_svn</command> 的配置指令
+          <literal>SVNParentPath</literal> 相同的值, 或者为每个仓库指定一个
+          单独的访问规则文件, 这样就不用在文件里提到仓库名.</para>
       </warning>
 
       <para>If you're using the <literal>SVNParentPath</literal>




More information about the svnbook-dev mailing list