[svnbook] r5805 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Wed Oct 24 07:53:22 CDT 2018
Revision: 5805
http://sourceforge.net/p/svnbook/source/5805
Author: wuzhouhui
Date: 2018-10-24 12:53:20 +0000 (Wed, 24 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-19 10:04:39 UTC (rev 5804)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-10-24 12:53:20 UTC (rev 5805)
@@ -7410,6 +7410,7 @@
检查访问规则文件中的大小写是否正确.</para>
</warning>
+ <!--
<para>The name of a repository as evaluated by the authorization
subsystem is derived directly from the repository's path.
Exactly how this happens differs between to two server
@@ -7419,12 +7420,23 @@
the <literal>SVNReposName</literal> <filename>httpd.conf</filename>
directive will be ignored by the authorization subsystem.
Your access control file sections must refer to repositories
+ ### TODO
by their server-sensitive paths as previously
described.</para></footnote>,
while <command>svnserve</command> uses the entire relative
path from the serving root (as determined by
- its <option>--root</option> (<option>-r</option>) command-line
+ its <option>- -root</option> (<option>-r</option>) command-line
option) to the repository.</para>
+ -->
+ <para>被授权模块检查的仓库名直接来自仓库的路径, 具体的表现受到两个服务
+ 器选项的影响. <command>mod_dav_svn</command> 只使用仓库根目录 URL 的
+ 最后一个分量 <footnote><para>通过配置指令
+ <literal>SVNReposName</literal>, 在 <filename>httpd.conf</filename>
+ 里配置的任意一个人类可读懂的仓库名, 都将被授权模块忽略. 前面已经
+ 说过, 访问规则文件里的节名必须引用到对服务器敏感的仓库路径.
+ </para></footnote>, 而 <command>svnserve</command> 则使用完整的, 相对
+ 于服务器根目录 (由选项 <option>--root</option> (<option>-r</option>))
+ 的仓库路径.</para>
<warning>
<para>The differences in the ways that a repository's name is
More information about the svnbook-dev
mailing list