Initial docs (as per php.ini-dist) of cgi.fix_pathinfo as suggested

by bug #25448


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140202 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-09-12 20:11:18 +00:00
parent 79e3555dce
commit 32bfab3dea

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.110 $ -->
<!-- $Revision: 1.111 $ -->
<chapter id="configuration">
<title>Runtime Configuration</title>
@ -945,6 +945,11 @@ include_path = ".;c:\php\lib"
<entry>PHP_EXTENSION_DIR</entry>
<entry>PHP_INI_SYSTEM</entry>
</row>
<row>
<entry>cgi.fix_pathinfo</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
</row>
<row>
<entry>cgi.force_redirect</entry>
<entry>"1"</entry>
@ -1073,7 +1078,26 @@ include_path=".;c:\php\includes"
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.cgi.fix_pathinfo">
<term>
<parameter>cgi.fix_pathinfo</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Provides <emphasis>real</emphasis> PATH_INFO/PATH_TRANSLATED
support for CGI. PHP's previous behaviour was to set
PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok what PATH_INFO
is. For more information on PATH_INFO, see the cgi specs. Setting
this to 1 will cause PHP CGI to fix it's paths to conform to the
spec. A setting of zero causes PHP to behave as before. Default
is zero. You should fix your scripts to use SCRIPT_FILENAME rather
than PATH_TRANSLATED.
</para>
</listitem>
</varlistentry>
<varlistentry id="ini.cgi.force-redirect">
<term>
<parameter>cgi.force_redirect</parameter>