[svnbook] r5798 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Fri Oct 12 22:37:58 CDT 2018
Revision: 5798
http://sourceforge.net/p/svnbook/source/5798
Author: wuzhouhui
Date: 2018-10-13 03:37:49 +0000 (Sat, 13 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-11 00:59:42 UTC (rev 5797)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-10-13 03:37:49 UTC (rev 5798)
@@ -6943,13 +6943,22 @@
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<sect3 id="svn.serverconfig.httpd.ref.mod_authz_svn">
+ <!--
<title>mod_authz_svn configuration directives</title>
+ -->
+ <title>mod_authz_svn 配置指令</title>
+ <!--
<para>The following configuration directives are provided
by <command>mod_authz_svn</command>, Subversion's path-based
authorization Apache HTTP Server module. For an in-depth
description of using path-based authorization in Subversion,
see <xref linkend="svn.serverconfig.pathbasedauthz"/>.</para>
+ -->
+ <para>以下的配置指令由 <command>mod_authz_svn</command> 提供, 它是
+ Subversion 基于路径授权的 Apache HTTP 服务器模块. 关于如何在
+ Subversion 中使用基于路径的授权, 见 <xref
+ linkend="svn.serverconfig.pathbasedauthz"/>.</para>
<variablelist>
@@ -6957,6 +6966,7 @@
<term><literal>AuthzForceUsernameCase Upper|Lower</literal></term>
<listitem>
+ <!--
<para>Set to <literal>Upper</literal>
or <literal>Lower</literal> to perform case conversion
of the specified sort on the authenticated username
@@ -6965,6 +6975,11 @@
referenced in the authorization rules file, this
directive can at least normalize variably-cased
usernames into something consistent.</para>
+ -->
+ <para>在检查授权之前, 把已认证的用户名转换成大写或小写形式. 当
+ 用户名与授权规则文件中记录的用户名相比较时, 是区分大小写的,
+ 这个配置指令可以把大小写混合的用户名转换成大小写一致的形式.
+ </para>
</listitem>
</varlistentry>
@@ -6974,6 +6989,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. In a configuration
@@ -6981,11 +6997,24 @@
either this directive or
<literal>AuthzSVNReposRelativeAccessFile</literal> can be
present, but not both.</para>
+ -->
+ <para>在路径为 <filename>file-path</filename> 的文件中查找访问
+ 规则, 访问规则描述了 Subversion 仓库中的路径的权限. 在
+ Subversion 仓库的配置块内, 可以出现这个配置指令或
+ <literal>AuthzSVNReposRelativeAccessFile</literal>, 但不能同
+ 时出现.</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>AuthzSVNAccessFile</literal> 授权一个 URL 作为参数,
+ 这个 URL 指向了 Subversion 仓库内的一个文件, 这个仓库甚至可
+ 以是应用规则文件的同一仓库.</para>
</listitem>
</varlistentry>
@@ -6994,6 +7023,7 @@
<term><literal>AuthzSVNAnonymous On|Off</literal></term>
<listitem>
+ <!--
<para>Set to <literal>Off</literal> to disable two
special-case behaviours of this module: interaction
with the <literal>Satisfy Any</literal> directive and
@@ -7001,6 +7031,12 @@
<literal>Require</literal> directives are present.
The default value of this directive is
<literal>On</literal>.</para>
+ -->
+ <para>设置成 <literal>Off</literal>, 将禁止模块
+ <command>mod_authz_svn</command> 的两个特例行为: 与配置指令
+ <literal>Satisfy Any</literal> 的相互影响, 和强制实施授权策略
+ (即使没有出现配置指令 <literal>Require</literal>). 该配置指令的
+ 默认值是 <literal>On</literal>.</para>
</listitem>
</varlistentry>
@@ -7009,10 +7045,14 @@
<term><literal>AuthzSVNAuthoritative On|Off</literal></term>
<listitem>
+ <!--
<para>Set to <literal>Off</literal> to allow access
control to be passed along to lower modules. The
default value of this directive is
<literal>On</literal>.</para>
+ -->
+ <para>设置成 <literal>Off</literal> 将允许把访问控制传递到下层
+ 模块. 默认值是 <literal>On</literal>.</para>
</listitem>
</varlistentry>
@@ -7021,11 +7061,15 @@
<term><literal>AuthzSVNNoAuthWhenAnonymousAllowed On|Off</literal></term>
<listitem>
+ <!--
<para>Set to <literal>On</literal> to suppress
authentication and authorization for requests which
anonymous users are allowed to perform. The default
value of this directive is
<literal>On</literal>.</para>
+ -->
+ <para>设置成 <literal>On</literal> 将禁止匿名用户发来的请求的
+ 认证与授权检查, 默认值是 <literal>On</literal>.</para>
</listitem>
</varlistentry>
More information about the svnbook-dev
mailing list