From 32bfab3deac16ee2c8c8caffb66a1e9fdbd75f68 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 12 Sep 2003 20:11:18 +0000 Subject: [PATCH] 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 --- chapters/config.xml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/chapters/config.xml b/chapters/config.xml index 663333386d..a39c9dd16e 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Runtime Configuration @@ -945,6 +945,11 @@ include_path = ".;c:\php\lib" PHP_EXTENSION_DIR PHP_INI_SYSTEM + + cgi.fix_pathinfo + "0" + PHP_INI_SYSTEM + cgi.force_redirect "1" @@ -1073,7 +1078,26 @@ include_path=".;c:\php\includes" - + + + + cgi.fix_pathinfo + boolean + + + + Provides real 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. + + + + cgi.force_redirect