[svnbook] r5801 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Sat Oct 13 22:08:25 CDT 2018
Revision: 5801
http://sourceforge.net/p/svnbook/source/5801
Author: wuzhouhui
Date: 2018-10-14 03:08:22 +0000 (Sun, 14 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-14 02:55:41 UTC (rev 5800)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-10-14 03:08:22 UTC (rev 5801)
@@ -7012,7 +7012,7 @@
being applied or another repository.</para>
-->
<para>从 Subversion 1.8 开始,
- <literal>AuthzSVNAccessFile</literal> 授权一个 URL 作为参数,
+ <literal>AuthzSVNAccessFile</literal> 接受一个 URL 作为参数,
这个 URL 指向了 Subversion 仓库内的一个文件, 这个仓库甚至可
以是应用规则文件的同一仓库.</para>
@@ -7079,6 +7079,7 @@
<replaceable>file-path</replaceable></literal></term>
<listitem>
+ <!--
<para>Consult <replaceable>file-path</replaceable> for
access rules describing the permissions for paths in
Subversion repository. Unlike
@@ -7092,11 +7093,29 @@
of repositories either this directive or
<literal>AuthzSVNAccessFile</literal> can be present, but not both.
This option is available as of Subversion 1.7.</para>
+ -->
+ <para>在路径为 <filename>file-path</filename> 的文件中查找访问
+ 规则, 访问规则描述了 Subversion 仓库中的路径的权限. 和
+ <literal>AuthzSVNAccessFile</literal> 不同的是,
+ <literal>AuthzSVNReposRelativeAccessFile</literal> 定义的是相
+ 对于仓库中的 <filename>conf/</filename> 目录的路径. 换句话说,
+ 由 <filename>file-path</filename> 所指定的文件, 必须能让仓库
+ 通过相对路径访问到. 在仓库的配置块内, 可以出现这个配置指令
+ <literal>AuthzSVNReposRelativeAccessFile</literal> 或
+ <literal>AuthzSVNAccessFile</literal>, 但两者不能同时出现.
+ 该配置指令在 Subversion 1.7 引进.</para>
+
+ <!--
<para>Beginning with Subversion 1.8,
<literal>AuthzSVNAccessFile</literal> accepts a URL to a file
stored inside a Subversion repository. It is possible to store
the file in the same repository to which the access rules are
being applied or another repository.</para>
+ -->
+ <para>从 Subversion 1.8 开始,
+ <literal>AuthzSVNReposRelativeAccessFile</literal> 接受一个
+ URL 作为参数, 这个 URL 指向了 Subversion 仓库内的一个文件,
+ 这个仓库甚至可以是应用规则文件的同一仓库.</para>
</listitem>
</varlistentry>
More information about the svnbook-dev
mailing list