#21742 [Opn->Bgs]: $_SERVER[PATH_INFO] doesnt work
| From: | iliaa@php.net | Date: | Mon, 20 Jan 2003 00:10:02 +0000 |
| Subject: | #21742 [Opn->Bgs]: $_SERVER[PATH_INFO] doesnt work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30600@lists.php.net to get a copy of this message | ||
ID: 21742
Updated by: iliaa@php.net
Reported By: eric.coleman@sitemod.net
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: Windows XP Home
PHP Version: 4.3.0
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
If you want the PATH_INFO variable to be avaliable you must enable
'AcceptPathInfo' in your Apache configuration file.
Previous Comments:
------------------------------------------------------------------------
[2003-01-19 07:49:16] eric.coleman@sitemod.net
Actually, I wasn't aware of the "AcceptPathInfo on".. stupid me..
I take it this solves the problem? I only noticed it when using
ForceType via .htaccess to force another file type..
------------------------------------------------------------------------
[2003-01-19 06:15:53] wez@php.net
Just a note about the bug system; a fix for that problem has been
comitted and will appear when the site next updates.
------------------------------------------------------------------------
[2003-01-19 05:29:30] leonard@imingo.net
Hi,
Did you add 'AcceptPathInfo on' in the file httpd.conf for apache2 ?
leonard
------------------------------------------------------------------------
[2003-01-19 01:32:10] eric.coleman@sitemod.net
If you try to use the $_SERVER['PATH_INFO'] variables, it won't work
becuase Apache won't let you use file.php/ becuase it tries to look for
the file '/' and can't find it, thus throwing a 404..
Also, if you have any ' in your Summary.. it throws an error ;P ( Bug
System )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21742&edit=1