#21742 [Com]: $_SERVER[PATH_INFO] doesnt work
ID: 21742
Comment by: eric.coleman@sitemod.net
Reported By: eric.coleman@sitemod.net
Status: Open
Bug Type: Apache2 related
Operating System: Windows XP Home
PHP Version: 4.3.0
New Comment:
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..
Previous Comments:
------------------------------------------------------------------------
[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
Thread (6 messages)