[svnbook] r5746 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Wed Aug 15 09:33:09 CDT 2018
Revision: 5746
http://sourceforge.net/p/svnbook/source/5746
Author: wuzhouhui
Date: 2018-08-15 14:33:07 +0000 (Wed, 15 Aug 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-08-12 12:38:32 UTC (rev 5745)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-08-15 14:33:07 UTC (rev 5746)
@@ -4409,7 +4409,7 @@
<xref linkend="svn.serverconfig.httpd.authz.pathauthzoff.ex-1"/>.</para>
-->
<para>另一方面, 管理员还可以牺牲部分安全, 以换取速度. 如果你没有实施
- 任意类型的每个目录授权 (即没有使用 <command>mod_authz_svn</command>
+ 任意类型的每目录授权 (即没有使用 <command>mod_authz_svn</command>
或类似的模块), 就可以禁止这些路径检查, 禁止方式是在
<filename>httpd.conf</filename> 里使用配置指令
<literal>SVNPathAuthz</literal>, 见
@@ -4417,7 +4417,10 @@
所示.</para>
<example id="svn.serverconfig.httpd.authz.pathauthzoff.ex-1">
+ <!--
<title>Disabling path checks altogether</title>
+ -->
+ <title>完全禁止路径检查</title>
<programlisting>
<Location /repos>
DAV svn
@@ -4428,6 +4431,7 @@
</programlisting>
</example>
+ <!--
<para>The <literal>SVNPathAuthz</literal> directive
is <quote>on</quote> by default. When
set to <quote>off,</quote> all path-based authorization
@@ -4434,6 +4438,11 @@
checking is disabled;
<command>mod_dav_svn</command> stops invoking authorization
checks on every path it discovers.</para>
+ -->
+ <para>配置指令 <literal>SVNPathAuthz</literal> 的默认值是
+ <literal>on</literal>, 当把它设置成 <literal>off</literal> 后,
+ 所有基于路径的授权检查都会被禁止, <command>mod_dav_svn</command>
+ 也不会再在每个发现的路径上唤起授权检查.</para>
</sect3>
More information about the svnbook-dev
mailing list