Bug #62221 [NEW]: Cannot use PATH_INFO pattern when compiled with apxs2filter
| From: | koalay at gmail dot com | Date: | Mon, 04 Jun 2012 04:11:50 +0000 |
| Subject: | Bug #62221 [NEW]: Cannot use PATH_INFO pattern when compiled with apxs2filter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-171015@lists.php.net to get a copy of this message | ||
From: koalay at gmail dot com
Operating system: Fedora 15
PHP version: 5.4.3
Package: Apache2 related
Bug Type: Bug
Bug description:Cannot use PATH_INFO pattern when compiled with apxs2filter
Description:
------------
When using PHP, compiled with the option "--apxs2filter" against Apache
2.4.2, Apache would not process any URLs like "foo.php/bar".
When compiled with "--apxs2", the URL "foo.php/bar" would be passed to
"foo.php" and the $_SERVER['PATH_INFO'] would be come '/bar'.
Test script:
---------------
<?php
var_dump($_SERVER['PATH_INFO']);
?>
Expected result:
----------------
string(5) "/blog"
Actual result:
--------------
Not Found
The requested URL /foo.php/bar was not found on this server.
--
Edit bug report at https://bugs.php.net/bug.php?id=62221&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62221&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62221&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62221&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62221&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62221&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62221&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62221&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62221&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62221&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62221&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62221&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62221&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62221&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62221&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62221&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62221&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62221&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62221&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62221&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62221&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62221&r=mysqlcfg