[svnbook] r5715 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Sun Jun 17 09:26:57 CDT 2018
Revision: 5715
http://sourceforge.net/p/svnbook/source/5715
Author: wuzhouhui
Date: 2018-06-17 14:26:55 +0000 (Sun, 17 Jun 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-06-12 14:08:28 UTC (rev 5714)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-06-17 14:26:55 UTC (rev 5715)
@@ -2761,6 +2761,7 @@
配置文件, 就给它添加选项 <option>--config-file</option>.</para>
<note>
+ <!--
<para>In the following sections, we will refer to
the <command>svnserve</command> configuration file by its
canonical name, <filename>svnserve.conf</filename>. The
@@ -2767,16 +2768,28 @@
filename of actual configuration file used by
your <command>svnserve</command> instance might be something
else, though. We trust this won't be too confusing.</para>
+ -->
+ <para>在下面的几节里, 我们将使用正式名称
+ <filename>svnserve.conf</filename> 指代 <command>svnserve</command>
+ 配置文件, 实际上配置文件还可以取其他名字, 但我们想念读者不会感到
+ 迷惑.</para>
</note>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<sect3 id="svn.serverconfig.svnserve.ref.general">
+ <!--
<title>General configuration</title>
+ -->
+ <title>通用配置</title>
+ <!--
<para>The <literal>[general]</literal> section contains the
most commonly used and broadly
focused <command>svnserve</command> configuration
options.</para>
+ -->
+ <para><literal>[general]</literal> 节包含了最常用到的
+ <command>svnserve</command> 配置选项.</para>
<variablelist>
@@ -2784,11 +2797,17 @@
<term><literal>anon-access</literal></term>
<listitem>
+ <!--
<para>Controls the access level granted to
unauthenticated (anonymous) users. Valid values
are <literal>write</literal>, <literal>read</literal>,
and <literal>none</literal>, with <literal>read</literal>
being the default value.</para>
+ -->
+ <para>控制未认证的 (匿名的) 用户的访问权限, 有效值包括
+ <literal>write</literal>, <literal>read</literal>, 和
+ <literal>none</literal>, 其中 <literal>read</literal> 是
+ 默认值.</para>
</listitem>
</varlistentry>
@@ -2797,11 +2816,17 @@
<term><literal>auth-access</literal></term>
<listitem>
+ <!--
<para>Controls the access level granted to authenticaed
users. Valid values are <literal>write</literal>,
<literal>read</literal>, and <literal>none</literal>,
with <literal>write</literal> being the default
value.</para>
+ -->
+ <para>控制已认证的用户的访问权限, 有效值包括
+ <literal>write</literal>, <literal>read</literal> 和
+ <literal>none</literal>, 其中 <literal>write</literal> 是
+ 默认值.</para>
</listitem>
</varlistentry>
@@ -2810,6 +2835,7 @@
<term><literal>authz-db</literal></term>
<listitem>
+ <!--
<para>Specifies the location of the repository access
file as described in
<xref linkend="svn.serverconfig.pathbasedauthz.getting-started"
@@ -2820,7 +2846,15 @@
the <filename>svnserve.conf</filename> configuration
file. If no path is specified, path-based access
control will be disabled.</para>
+ -->
+ <para>指定仓库访问权限配置文件的路径 (见 <xref
+ linkend="svn.serverconfig.pathbasedauthz.getting-started"/>).
+ 如果是一个普通的本地路径, 除非路径以正斜杠
+ (<literal>/</literal>) 开始, 否则的话路径就看成是相对于包含
+ 了 <filename>svnserve.conf</filename> 的目录的相对路径. 如果没
+ 有指定路径, 将禁止基于路径的访问权限控制.</para>
+ <!--
<para>As a special consideration, you may also specify
the location of an access file which is versioned
inside a Subversion repository. Use a local URL (one
@@ -2831,6 +2865,12 @@
<command>svnserve</command> to consult for each
repository the access file stored at the specified
relative URL within that repository.</para>
+ -->
+ <para>作为一种特殊的情况, 可以把 Subversion 仓库内的文件指定为
+ 访问权限配置文件, 使用本地 URL (以 <literal>file://</literal>
+ 开始) 指定文件的位置. 另外, 还可以用相对的仓库 URL (以
+ <literal>^/</literal> 开始), 使得 <command>svnserve</command>
+ 为根据相对 URL 访问仓库内的访问权限配置文件.</para>
</listitem>
</varlistentry>
More information about the svnbook-dev
mailing list