Doc #62221 [Opn->Nab]: Cannot use PATH_INFO pattern when compiled with apxs2filter
| From: | laruence@php.net | Date: | Mon, 04 Jun 2012 15:06:54 +0000 |
| Subject: | Doc #62221 [Opn->Nab]: Cannot use PATH_INFO pattern when compiled with apxs2filter | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8425@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62221&edit=1
ID: 62221
Updated by: laruence@php.net
Reported by: koalay at gmail dot com
Summary: Cannot use PATH_INFO pattern when compiled with
apxs2filter
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Apache2 related
Operating System: Fedora 15
PHP Version: 5.4.3
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2012-06-04 09:09:01] koalay at gmail dot com
Oh, I didn't know that before. It works now with "AcceptPathInfo On". Thanks a lot.
Please mention this in the documentation so others would not running in to this issue.
Thanks a lot!
------------------------------------------------------------------------
[2012-06-04 07:56:17] laruence@php.net
did you set AcceptPathinfo on ?
http://httpd.apache.org/docs/2.0/en/mod/core.html#acceptpathinfo
------------------------------------------------------------------------
[2012-06-04 04:11:50] koalay at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=62221&edit=1