php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21742 $_SERVER[PATH_INFO] doesnt work
Submitted: 2003-01-19 01:32 UTC Modified: 2003-01-19 18:09 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: eric dot coleman at sitemod dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.0 OS: Windows XP Home
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eric dot coleman at sitemod dot net
New email:
PHP Version: OS:

 

 [2003-01-19 01:32 UTC] eric dot coleman at sitemod dot 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 )

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-19 05:29 UTC] leonard at imingo dot net
Hi,

Did you add 'AcceptPathInfo on' in the file httpd.conf for apache2 ?

leonard
 [2003-01-19 06:15 UTC] 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 07:49 UTC] eric dot coleman at sitemod dot 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 18:10 UTC] iliaa@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 04:01:29 2024 UTC