[svnbook] r5792 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Tue Oct 2 03:05:40 CDT 2018
Revision: 5792
http://sourceforge.net/p/svnbook/source/5792
Author: wuzhouhui
Date: 2018-10-02 08:05:37 +0000 (Tue, 02 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-01 05:49:33 UTC (rev 5791)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-10-02 08:05:37 UTC (rev 5792)
@@ -6534,6 +6534,7 @@
但是服务器将向客户端宣告它 <emphasis>更喜欢</emphasis> 按
照第一种方式处理更新请求.</para>
+ <!--
<para>Most folks won't need to use this directive at
all. It primarily exists for administrators who
wish—for security or auditing reasons—to
@@ -6542,6 +6543,12 @@
checkouts, thus leaving an audit trail of
<literal>GET</literal> and <literal>PROPFIND</literal>
requests in Apache's logs.</para>
+ -->
+ <para>大多数人根本就不会用到这个配置指令, 它的存在主要是为了满足
+ 管理员的这种需要—为了安全或审计需要, 强迫 Subversion
+ 客户端在更新或检出时, 单独地抓取文件与目录, 从而在 Apache 的
+ 日志里留下请求 <literal>GET</literal> 和
+ <literal>PROPFIND</literal> 的审计记录.</para>
</listitem>
</varlistentry>
@@ -6549,6 +6556,7 @@
<term><literal>SVNAutoversioning On|Off</literal></term>
<listitem>
+ <!--
<para>When its value is
<literal>On</literal>, allows write requests from
WebDAV clients to result in automatic commits. A
@@ -6562,6 +6570,18 @@
For more information, see <xref
linkend="svn.webdav"/>. The default value of this
directive is <literal>Off</literal>.</para>
+ -->
+ <para>如果配置指令的值是 <literal>On</literal>, 来自 WebDAV
+ 的写请求将自动生成提交, 版本号的日志消息也是一条自动生成的
+ 能用消息. 如果 <literal>SVNAutoversioning</literal> 的值是
+ <literal>On</literal>, 你可能还需要设置上
+ <literal>ModMimeUsePathInfo On</literal>, 于是
+ <command>mod_mime</command> 就能自动地为文件设置正确的
+ <literal>svn:mime-type</literal> 属性 (当然,
+ <command>mod_mime</command> 也只能尽最大努力做到正确). 更多的
+ 细节见 <xref linkend="svn.webdav"/>.
+ <literal>SVNAutoversioning</literal> 的默认值是
+ <literal>Off</literal>.</para>
</listitem>
</varlistentry>
@@ -6570,6 +6590,7 @@
<term><literal>SVNCacheFullTexts On|Off</literal></term>
<listitem>
+ <!--
<para>When set to <literal>On</literal>, this tells
Subversion to cache content fulltexts if sufficient
in-memory cache is available, which could offer a
@@ -6577,6 +6598,11 @@
also the <literal>SVNInMemoryCacheSize</literal>
directive.) The default value of this directive
is <literal>Off</literal>.</para>
+ -->
+ <para>如果被设置成 <literal>On</literal>, 并且内存缓存足够,
+ Subversion 将全文缓存文件的内容, 这可以极大地提升服务器的性能.
+ (另请参阅 <literal>SVNInMemoryCacheSize</literal>) 默认值是
+ <literal>Off</literal>.</para>
</listitem>
</varlistentry>
@@ -6584,6 +6610,7 @@
<term><literal>SVNCacheTextDeltas On|Off</literal></term>
<listitem>
+ <!--
<para>When set to <literal>On</literal>, this tells
Subversion to cache content deltas if sufficient
in-memory cache is available, which could offer a
@@ -6591,6 +6618,11 @@
also the <literal>SVNInMemoryCacheSize</literal>
directive.) The default value of this directive
is <literal>Off</literal>.</para>
+ -->
+ <para>如果被设置成 <literal>On</literal> 并且内存缓存足够,
+ Subversion 将缓存文件内容的差异部分, 这可以极大地提升服务器
+ 的性能. (另请参阅 <literal>SVNInMemoryCacheSize</literal>)
+ 默认值是 <literal>Off</literal>.</para>
</listitem>
</varlistentry>
More information about the svnbook-dev
mailing list