Bug 85176 - PHP_SELF & PATH_INFO does not work.
PHP_SELF & PATH_INFO does not work.
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-02-26 00:19 EST by Emmanuel Galanos
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-07 09:21:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Emmanuel Galanos 2003-02-26 00:19:30 EST
Description of problem:
The way that Red Hat has configured PHP with Apache 2.0 means that URL's


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:

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 09:21:28 EDT
That's correct; this is covered explicitly in the migration guide included in

Note You need to log in before you can comment on or make changes to this bug.