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

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Thu Oct 4 21:13:08 CDT 2018


Revision: 5795
          http://sourceforge.net/p/svnbook/source/5795
Author:   wuzhouhui
Date:     2018-10-05 02:13:05 +0000 (Fri, 05 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-04 14:01:56 UTC (rev 5794)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-10-05 02:13:05 UTC (rev 5795)
@@ -6801,6 +6801,7 @@
             <term><literal>SVNPathAuthz On|Off|short_circuit</literal></term>
             <listitem>
 
+      <!--
               <para>Controls path-based authorization by enabling
                 subrequests (<literal>On</literal>), disabling
                 subrequests (<literal>Off</literal>; see <xref
@@ -6808,6 +6809,13 @@
                 or querying <command>mod_authz_svn</command> directly
                 (<literal>short_circuit</literal>).  The default
                 value of this directive is <literal>On</literal>.</para>
+      -->
+              <para>控制基于路径的授权检查, 控制方式包括允许子请求 (
+                <literal>On</literal>), 禁止子请求 (<literal>Off</literal>, 见
+                <xref linkend="svn.serverconfig.httpd.authz.pathauthzoff"/>),
+                或者直接访问 <command>mod_authz_svn</command> (
+                <literal>short_circuit</literal>). 默认值是
+                <literal>On</literal>.</para>
 
             </listitem>
           </varlistentry>
@@ -6817,14 +6825,22 @@
               <replaceable>name</replaceable></literal></term>
             <listitem>
 
+      <!--
               <para>Specifies the name of a Subversion repository for
                 use in <literal>HTTP GET</literal> responses.  This
+                ### TODO
                 value will be prepended to the title of all directory
                 listings (which are served when you navigate to a
                 Subversion repository with a web browser).  This
                 directive is optional.</para>
+      -->
+              <para>指定 Subversion 仓库在 <literal>HTTP GET</literal> 响应
+                中所使用的名字. 这个值将作为所有目录列表的标题 (使用网页浏览
+                器浏览 Subversion 仓库时将会看到该标题). 该配置指令是可选的.
+              </para>
 
                <note>
+      <!--
                  <para>Subversion will not use the repository name as
                    configured via this directive when trying to match
                    rules in access control files.  The repository names
@@ -6832,6 +6848,13 @@
                    the repository URL.  See
                    <xref linkend="svn.serverconfig.pathbasedauthz.getting-started"
                    /> for details.</para>
+      -->
+               <para>当 Subversion 尝试匹配访问控制文件里的规则时, 不会用到
+                 <literal>SVNReposName</literal> 所指定的名字. 用于匹配访问
+                 控制文件的仓库名总是来自仓库的 URL, 更多的细节见
+                 <xref
+                   linkend="svn.serverconfig.pathbasedauthz.getting-started"/>.
+               </para>
                </note>
 
             </listitem>




More information about the svnbook-dev mailing list