php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16622 PATH_INFO, AcceptPathInfo Apache 2 Directive failure
Submitted: 2002-04-15 10:50 UTC Modified: 2002-04-21 20:02 UTC
Votes:9
Avg. Score:5.0 ± 0.0
Reproduced:9 of 9 (100.0%)
Same Version:6 (66.7%)
Same OS:4 (44.4%)
From: ev3rywh3re at mac dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.0 OS: Any
Private report: No CVE-ID: None
 [2002-04-15 10:50 UTC] ev3rywh3re at mac dot com
The use of the Apache 2 Directive, AcceptPathInfo fails in conjuction with PHP. AcceptPathInfo is supposed to allow scripts such as www.server.com/script.php to be referenced with additional URI information to be passed to the script such as www.server.com/script.php/value/value2. PHP calls this value PATH_INFO.

When AcceptPathInfo is used in .htaccess files Apache still attempts to search for files in the file system and reports "object" not found.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-21 17:29 UTC] paulo dot nospam at isnet dot com dot br
I am having the same problem. It seems that Apache2 tries to use the script name as a folder name. This happens to .html files as well, so I think it might be a problem with Apache itself, not PHP. I tried the latest cvs for php and apache and it didn't work either. I'm using Redhat 7.1.
Setting AcceptPathInfo anywhere does not work also, even when trying to set php as a filter with addinputfilter and addoutputfilter.
 [2002-04-21 17:36 UTC] jwoolley@php.net
This is a bug in Apache, not in PHP.  Please see PR8234 in the Apache Bug Database for further discussion of this problem: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8234
 [2002-04-21 20:02 UTC] sniper@php.net
Not PHP bug -> bogus.

 [2002-04-22 10:46 UTC] paulo at isnet dot com dot br
This has been fixed in Apache 2.0.36 (CVS)
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 06:03:16 2021 UTC