php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19587 no $PATH_INFO by using URLs with "*.php/value" and not "*.php?value"
Submitted: 2002-09-25 00:33 UTC Modified: 2002-10-07 14:35 UTC
Votes:9
Avg. Score:4.6 ± 0.7
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: michaels dot php dot spam at mediapower dot at Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.3 OS: Apache2.0.40 on Windows 2000
Private report: No CVE-ID: None
 [2002-09-25 00:33 UTC] michaels dot php dot spam at mediapower dot at
when i enter the URL www.domain.com/dir/file.php?value=1 the script work fine, but when i enter www.domain.com/dir/file.php/value/1 i become a 404 error.

but on win2k pro with apache 1.3.20 & php4.0.6 i did not have this problem.

php is loaded as module.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-25 00:35 UTC] michaels dot php dot spam at mediapower dot at
PS: on the phpinfo(); i also can't find any $PATH_INFO
 [2002-09-26 13:52 UTC] michaels dot php dot spam at mediapower dot at
did any one know about this problem, becouse all my apps are based on this feature, and when i using CGI files at apache2 i can use the /
 [2002-10-07 14:35 UTC] michaels dot php dot spam at mediapower dot at
ok here i found the solution, the AcceptPathInfo must be switched on in apache2..

http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 19:03:38 2021 UTC