cvs: phpdoc-zh /chapters install.apache2.xml security.xml tutorial.xml

From: Date: Tue, 01 Apr 2003 09:15:12 +0000
Subject: cvs: phpdoc-zh /chapters install.apache2.xml security.xml tutorial.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1280@lists.php.net to get a copy of this message
gregory Tue Apr 1 04:15:12 2003 EDT Modified files: /phpdoc-zh/chapters install.apache2.xml security.xml tutorial.xml Log: Co-revision with the En Version Index: phpdoc-zh/chapters/install.apache2.xml diff -u phpdoc-zh/chapters/install.apache2.xml:1.5 phpdoc-zh/chapters/install.apache2.xml:1.6 --- phpdoc-zh/chapters/install.apache2.xml:1.5 Mon Feb 24 09:30:23 2003 +++ phpdoc-zh/chapters/install.apache2.xml Tue Apr 1 04:15:12 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.9 Maintainer: Gregory Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: gregory $ --> +<!-- EN-Revision: 1.10 Maintainer: Gregory Status: ready --> <sect1 id="install.apache2"> <title>Apache ·þÎñÆ÷ 2.x °æ±¾</title> <para> @@ -130,7 +130,7 @@ ÏÂÔØ×îа汾µÄ <ulink url= "&url.apache;">Apache 2.0</ulink> ºÍºÏÊ浀 PHP °æ±¾¡£ Ê×ÏÈÇë²é¿´ <link linkend="install.windows.manual">ÊÖ¶¯°²×°²½Öè</link>£¬È»ºó»ØÀ´¼ÌÐø°²×° <literal>PHP</literal> ºÍ Apache¡£ </para> <para> - ÓÐÁ½ÖÖ·½·¨Ê¹µÃ <literal>PHP</literal> ¹¤×÷ÔÚ Windows Ï嵀 Apache¡£Ò»ÊÇʹÓà CGI ¶þ½øÖÆÎļþ£¬ÁíÒ»ÊÇʹÓà Apache Ä£¿é DLL¡£ÎÞÁÄÄÇÖÖ·½·¨£¬ÄúÊ×ÏȱØÐëÍ£Ö¹ Apache ·þÎñÆ÷£¬È»ºó±à¼­ <filename>httpd.conf</filename>£¬ÒÔÅäÖà Apache ºÍ <literal>PHP</literal> Эͬ¹¤×÷¡£ + ÓÐÁ½ÖÖ·½·¨Ê¹µÃ <literal>PHP</literal> ¹¤×÷ÔÚ Windows Ï嵀 Apache¡£Ò»ÊÇʹÓà CGI ¶þ½øÖÆÎļþ£¬ÁíÒ»ÊÇʹÓà Apache Ä£¿é DLL¡£ÎÞÁÄÄÇÖÖ·½·¨£¬ÄúÊ×ÏȱØÐëÍ£Ö¹ Apache ·þÎñÆ÷£¬È»ºó±à¼­ &httpd.conf;£¬ÒÔÅäÖà Apache ºÍ <literal>PHP</literal> Эͬ¹¤×÷¡£ </para> <para> ÄúÐèÒª½«ÈçÏÂÖ¸Áî²åÈëµ½ Apache µÄ <filename>httpd.conf</filename> ÅäÖÃÎļþÖУ¬ÒÔÉèÖÃ<emphasis>CGI ¶þ½øÖÆÎļþ</emphasis>£º Index: phpdoc-zh/chapters/security.xml diff -u phpdoc-zh/chapters/security.xml:1.5 phpdoc-zh/chapters/security.xml:1.6 --- phpdoc-zh/chapters/security.xml:1.5 Tue Feb 25 03:49:06 2003 +++ phpdoc-zh/chapters/security.xml Tue Apr 1 04:15:12 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- $Author: gregory $ --> -<!-- EN-Revision: 1.51 Maintainer: Gregory Status: ready --> +<!-- EN-Revision: 1.52 Maintainer: Gregory Status: ready --> <chapter id="security"> <title>°²È«</title> @@ -770,7 +770,7 @@ $good_login = 1; } if ($good_login == 1) { // If above test fails, not initialized or checked before usage - fpassthru ("/highly/sensitive/data/index.html"); + readfile ("/highly/sensitive/data/index.html"); } ?> ]]> Index: phpdoc-zh/chapters/tutorial.xml diff -u phpdoc-zh/chapters/tutorial.xml:1.12 phpdoc-zh/chapters/tutorial.xml:1.13 --- phpdoc-zh/chapters/tutorial.xml:1.12 Tue Mar 4 04:22:32 2003 +++ phpdoc-zh/chapters/tutorial.xml Tue Apr 1 04:15:12 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.12 $ --> -<!-- $Author: dallas $ --> +<!-- $Revision: 1.13 $ --> +<!-- $Author: gregory $ --> <!-- EN-Revision: 1.13 Maintainer: Gregory Status: ready --> <chapter id="tutorial"> <title>¼òÃ÷½Ì³Ì</title> @@ -43,7 +43,7 @@ ]]> </programlisting> <simpara> - ÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÀïÊäÈë URL ·ÃÎÊÕâ¸öÎļþ£¬ÔÚ½áβ¼ÓÉÏ¡°/hello.php¡±¡£Èç¹ûÄúÔÚ±¾µØ¿ª·¢£¬ÄÇôÕâ¸ö URL Ò»°ãÊÇ <literal>http://localhost/hello.php</literal> »òÕß <literal>http://127.0.0.1/hello.php</literal>£¬µ±È»ÕâÈ¡¾öÓÚ WEB ·þÎñÆ÷µÄÉèÖá£ÕâÒѾ­³¬³öÁ˱¾Õµķ¶Î§£¬Çë²éÔÄÄú WEB ·þÎñÆ÷ÉèÖÃÎļþÖÐ <varname>DocumentRoot</varname> ºÍ <varname>ServerName</varname> µÄÓйØÄÚÈÝ¡££¨Apache µÄÅäÖÃÎļþÊÇ <filename>httpd.conf</filename>£©¡£Èç¹ûËùÓеÄÉèÖö¼ÕýÈ·£¬ÄÇôÕâ¸öÎļþ½«±» PHP ½âÎö£¬ä¯ÀÀÆ÷Öн«»áÊä³öÈçϽá¹û£º + ÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÀïÊäÈë URL ·ÃÎÊÕâ¸öÎļþ£¬ÔÚ½áβ¼ÓÉÏ¡°/hello.php¡±¡£Èç¹ûÄúÔÚ±¾µØ¿ª·¢£¬ÄÇôÕâ¸ö URL Ò»°ãÊÇ <literal>http://localhost/hello.php</literal> »òÕß <literal>http://127.0.0.1/hello.php</literal>£¬µ±È»ÕâÈ¡¾öÓÚ WEB ·þÎñÆ÷µÄÉèÖá£ÕâÒѾ­³¬³öÁ˱¾Õµķ¶Î§£¬Çë²éÔÄÄú WEB ·þÎñÆ÷ÉèÖÃÎļþÖÐ <varname>DocumentRoot</varname> ºÍ <varname>ServerName</varname> µÄÓйØÄÚÈÝ¡££¨Apache µÄÅäÖÃÎļþÊÇ &httpd.conf;£©¡£Èç¹ûËùÓеÄÉèÖö¼ÕýÈ·£¬ÄÇôÕâ¸öÎļþ½«±» PHP ½âÎö£¬ä¯ÀÀÆ÷Öн«»áÊä³öÈçϽá¹û£º </simpara> <para> <screen role="html">

« previous php.doc.zh (#1280) next »