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

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Sat Jul 14 04:38:38 CDT 2018


Revision: 5729
          http://sourceforge.net/p/svnbook/source/5729
Author:   wuzhouhui
Date:     2018-07-14 09:38:32 +0000 (Sat, 14 Jul 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-07-10 14:48:51 UTC (rev 5728)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-07-14 09:38:32 UTC (rev 5729)
@@ -3504,6 +3504,7 @@
           强调, 详细的信息请参阅 Apache 文档.</para>
       </sidebar>
 
+      <!--
       <para>At this stage, you should strongly consider the question
         of permissions.  If you've been running Apache for some time
         now as your regular web server, you probably already have a
@@ -3514,7 +3515,13 @@
         Apache, when used as a Subversion server, will also need the
         correct permissions to read and write to your Subversion
         repository.</para>
+      -->
+      <para>现在, 你必须认真考虑与权限有关的问题. 如果 Apache 已经作为你的
+        网页服务器运行了一段时间, 服务器上可能积累了一定量的内容—网页,
+        脚本等, 这些文件的权限配置允许 Apache 对它们进行访问. 当 Apache 作为
+        Subversion 服务器时, 也要求 Subversion 仓库的读写权限配置正确.</para>
 
+      <!--
       <para>You will need to determine a permission system setup that
         satisfies Subversion's requirements without messing up any
         previously existing web page or script installations.  This
@@ -3530,16 +3537,32 @@
         aware that permission-related problems are perhaps the most
         common oversight when configuring a Subversion repository for
         use with Apache.</para>
+      -->
+      <para>你需要确定一种权限设置, 以便满足 Subversion 的需求, 而不影响已
+        有的网页或脚本. 这可能意味着修改 Subversion 仓库的权限, 以便与 Apache
+        提供的其他服务一致, 或者是使用 <filename>httpd.conf</filename> 的
+        <literal>User</literal> 与 <literal>Group</literal> 指令, 去指定
+        Apache 运行时的用户名与用户组, 这些用户名与用户组正是 Subversion
+        仓库的所有者. 正确设置权限的方法不是唯一的, 每一个管理员都可以选择一
+        种适合自己的方式, 只是需要注意的是, Subversion 搭配 Apache 的最常见
+        问题就是与权限有关的问题.</para>
 
     </sect2>
 
     <!-- =============================================================== -->
     <sect2 id="svn.serverconfig.httpd.authn">
+      <!--
       <title>Authentication Options</title>
+      -->
+      <title>认证选项</title>
 
+      <!--
       <para>At this point, if you configured
         <filename>httpd.conf</filename> to contain something such as the
         following:</para>
+      -->
+      <para>到这里为止, 如果你的 <filename>httpd.conf</filename> 包含了类似
+        下面的内容:</para>
 
       <informalexample>
         <programlisting>
@@ -3550,6 +3573,7 @@
 </programlisting>
       </informalexample>
 
+      <!--
       <para>your repository is <quote>anonymously</quote>
         accessible to the world.  Until you configure some
         authentication and authorization policies, the Subversion
@@ -3556,20 +3580,35 @@
         repositories that you make available via the
         <literal>Location</literal> directive will be generally
         accessible to everyone.  In other words:</para>
+      -->
+      <para>那么你的仓库对于外界而言是 <quote>匿名</quote> 访问的. 除非你为
+        Subversion 仓库配置了认证与授权策略, 否则的话, 那些通过指令
+        <literal>Location</literal> 指定的仓库将对所有人开放. 换句话说就是:
+      </para>
 
       <itemizedlist>
         <listitem>
+      <!--
           <para>Anyone can use a Subversion client to check out a
             working copy of a repository URL (or any of its
             subdirectories).</para>
+      -->
+          <para>任何人都可以用 Subversion 客户端, 根据仓库 (或者它的子目录)
+            的 URL 检出工作副本.</para>
         </listitem>
         <listitem>
+      <!--
           <para>Anyone can interactively browse the repository's
             latest revision simply by pointing a web browser to
             the repository URL.</para>
+      -->
+          <para>任何人都可以用网页浏览器浏览仓库的最新的内容.</para>
         </listitem>
         <listitem>
+      <!--
           <para>Anyone can commit to the repository.</para>
+      -->
+          <para>任何人都可以向仓库提交修改.</para>
         </listitem>
       </itemizedlist>
 




More information about the svnbook-dev mailing list