Bug 85176

Summary: PHP_SELF & PATH_INFO does not work.
Product: [Retired] Red Hat Linux Reporter: e
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-07 13:21:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description e 2003-02-26 05:19:30 UTC
Description of problem:
The way that Red Hat has configured PHP with Apache 2.0 means that URL's
like: 

  http://www.example.com/foobar.php/make_up_stuff_here

do not work like they did in Apache 1.3. A 404 error is returned instead.

How reproducible:
100 %

Steps to Reproduce:
1. Do get request like given
2. Compare to RH 7.3
    
Actual results:
404

Expected results:
PHP to run and get given extra info.

Additional info:
This can be fixed by modifying the php.conf file and adding:

AcceptPathInfo on

in the files section. Not sure if this is the proper fix versus PHP being
patched to tell Apache to turn on path info when it is used as a filter.

Comment 1 Joe Orton 2003-04-07 13:21:28 UTC
That's correct; this is covered explicitly in the migration guide included in
/usr/share/doc/httpd-2.0.40/migration.html.