[svnbook] r5731 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Wed Jul 25 09:44:37 CDT 2018


Revision: 5731
          http://sourceforge.net/p/svnbook/source/5731
Author:   wuzhouhui
Date:     2018-07-25 14:44:36 +0000 (Wed, 25 Jul 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-07-23 15:05:18 UTC (rev 5730)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-07-25 14:44:36 UTC (rev 5731)
@@ -3645,7 +3645,7 @@
       <!--
         <title>Basic authentication</title>
       -->
-        <title>基础认证</title>
+        <title>Basic 认证</title>
 
       <!--
         <para>The easiest way to authenticate a client is via the HTTP
@@ -3663,15 +3663,25 @@
                 />.</para></footnote> 来管理包含用户名与密码的文件.</para>
 
         <warning>
+      <!--
           <para>Basic authentication is <emphasis>extremely</emphasis>
             insecure, because it sends passwords over the network
             in very nearly plain text.  See
             <xref linkend="svn.serverconfig.httpd.authn.digest"/> for
             details on using the much safer Digest mechanism.</para>
+      -->
+          <para>Basic 认证 <emphasis>非常</emphasis> 不安全, 因为它以几乎明
+            文的方式在网络上传输密码, 建议使用更加安全的 Digest 认证机制,
+            具体的细节见 <xref linkend="svn.serverconfig.httpd.authn.digest"/>.
+          </para>
         </warning>
 
+      <!--
         <para>First, create a password file and grant access to
           users Harry and Sally:</para>
+      -->
+        <para>首先创建一个密码文件, 并为用户 Harry 和 Sally 授予访问权限.
+        </para>
 
         <informalexample>
           <screen>
@@ -3689,6 +3699,7 @@
 </screen>
         </informalexample>
         
+      <!--
         <para>Next, ensure that Apache has access to the modules which
           provide the Basic authentication and related
           functionality:  <literal>mod_auth_basic</literal>,
@@ -3697,6 +3708,12 @@
           modules are compiled into <command>httpd</command> itself,
           but if not, you might need to explicitly load one or more of
           them using the <literal>LoadModule</literal> directive:</para>
+      -->
+        <para>然后, 确保 Apache 可以访问到提供 Basic 认证和相关功能的模块:
+          <literal>mod_auth_basic</literal>, <literal>mod_authn_file</literal>
+          和 <literal>mod_authz_user</literal>. 在大部分情况下, 这些模块本来
+          就已经被编译进 <filename>httpd</filename>, 如果没有, 你可能需要显
+          式地使用配置命令 <literal>LoadModule</literal> 加载它们:</para>
 
         <informalexample>
           <programlisting>




More information about the svnbook-dev mailing list