philip          Thu Aug 26 19:49:13 2004 EDT

  Modified files:              
    /phpdoc/en/appendices       reserved.xml 
    /phpdoc/en/reference/apache reference.xml 
  Log:
  Add/update the note about PATH_TRANSLATED, and why it might be defined, and how to 
define it.
  This closes php bug #23610.
  
  
http://cvs.php.net/diff.php/phpdoc/en/appendices/reserved.xml?r1=1.44&r2=1.45&ty=u
Index: phpdoc/en/appendices/reserved.xml
diff -u phpdoc/en/appendices/reserved.xml:1.44 phpdoc/en/appendices/reserved.xml:1.45
--- phpdoc/en/appendices/reserved.xml:1.44      Thu Aug 19 04:05:13 2004
+++ phpdoc/en/appendices/reserved.xml   Thu Aug 26 19:49:12 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.44 $ -->
+<!-- $Revision: 1.45 $ -->
 
  <appendix id="reserved">
   <title>List of Reserved Words</title>
@@ -588,6 +588,22 @@
          script, after the server has done any virtual-to-real
          mapping.
         </simpara>
+        <note>
+         <simpara>
+          As of PHP 4.3.2, <envar>PATH_TRANSLATED</envar> is no longer set 
+          implicitly under the Apache 2 <acronym>SAPI</acronym> in contrast 
+          to the situation in Apache 1, where it's set to the same value as 
+          the <envar>SCRIPT_FILENAME</envar> server variable when it's not 
+          populated by Apache.  This change was made to comply with the 
+          <acronym>CGI</acronym> specification that 
+          <envar>PATH_TRANSLATED</envar> should only exist if 
+          <envar>PATH_INFO</envar> is defined.
+         </simpara>
+         <simpara>
+          Apache 2 users may use <literal>AcceptPathInfo = On</literal> inside
+          <filename>httpd.conf</filename> to define <envar>PATH_INFO</envar>.
+         </simpara>
+        </note>
        </listitem>
       </varlistentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/reference.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/apache/reference.xml
diff -u phpdoc/en/reference/apache/reference.xml:1.9 
phpdoc/en/reference/apache/reference.xml:1.10
--- phpdoc/en/reference/apache/reference.xml:1.9        Tue Aug 10 09:01:07 2004
+++ phpdoc/en/reference/apache/reference.xml    Thu Aug 26 19:49:12 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
  <reference id="ref.apache">
   <title>Apache-specific Functions</title>
   <titleabbrev>Apache</titleabbrev>
@@ -10,14 +10,20 @@
      These functions are only available when running PHP as an Apache module.
     </para>
     <note>
-     <para>
-      PATH_TRANSLATED server variable is no longer set implicitly under Apache
-      2 SAPI in contrast to the situation in Apache 1, where it is set to the
-      same value as the SCRIPT_FILENAME server variable when it is not
-      populated by Apache. This change was made to comply with the <ulink
-       url="&url.cgispecs;">CGI specification</ulink>. Please refer to <ulink
-       url="&url.php.bugs;23610">bug #23610</ulink> for further information.
-     </para>
+     <simpara>
+      As of PHP 4.3.2, <envar>PATH_TRANSLATED</envar> is no longer set 
+      implicitly under the Apache 2 <acronym>SAPI</acronym> in contrast 
+      to the situation in Apache 1, where it's set to the same value as 
+      the <envar>SCRIPT_FILENAME</envar> server variable when it's not 
+      populated by Apache.  This change was made to comply with the 
+      <acronym>CGI</acronym> specification that 
+      <envar>PATH_TRANSLATED</envar> should only exist if 
+      <envar>PATH_INFO</envar> is defined.
+     </simpara>
+     <simpara>
+      Apache 2 users may use <literal>AcceptPathInfo = On</literal> inside
+      <filename>httpd.conf</filename> to define <envar>PATH_INFO</envar>.
+     </simpara>
     </note>
    </section>
 

Reply via email to