#24886 [Opn->Fbk]: PATH_TRANSLATED is wrong
| From: | sniper@php.net | Date: | Thu, 31 Jul 2003 18:23:06 +0000 |
| Subject: | #24886 [Opn->Fbk]: PATH_TRANSLATED is wrong | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45123@lists.php.net to get a copy of this message | ||
ID: 24886
Updated by: sniper@php.net
Reported By: lenar at city dot ee
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: debian/unstable
PHP Version: 4.3.3RC2
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2003-07-31 11:05:31] lenar at city dot ee
Description:
------------
in apache configuration where many virtual hosts are in
use, PATH_TRANSLATED doesn't always get set to correct
path.
Instead the value seems to reflect some other (older)
request. Possibly the value is correct only if brand new
apache child serves the request.
The value in $_SERVER array is always correct.
Current workaround: add extract($_SERVER, EXTR_OVERWRITE);
to your auto-prepend php file.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24886&edit=1