#23610 [Opn->Csd]: PATH_TRANSLATED is EMPTY
| From: | nlopess@php.net | Date: | Mon, 19 Apr 2004 14:52:35 +0000 |
| Subject: | #23610 [Opn->Csd]: PATH_TRANSLATED is EMPTY | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360178@lists.php.net to get a copy of this message | ||
ID: 23610
Updated by: nlopess@php.net
Reported By: support at sensvirtuel dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Linux (redhat 8.0)
PHP Version: 4.3.1
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
This was already in the migration from PHP 4 to PHP 5 appendice.
I've just copied the note to the apache function reference.
Previous Comments:
------------------------------------------------------------------------
[2004-04-18 01:03:47] derick@php.net
No, read the other comments. Resetting this to a Documentation problem,
which it is.
------------------------------------------------------------------------
[2004-04-17 21:39:46] nlopess@php.net
Is there any chance to implement it? Some old scripts may rely on this
feature, including REDIRECT_URL (used in phpdoc's livedocs).
------------------------------------------------------------------------
[2003-06-19 08:41:07] fillmore at nrcan dot gc dot ca
We recently upgraded PHP from 4.3.0 to 4.3.2, and some of
our scripts are now broken because they use PATH_TRANSLATED
to compute the document root directory of the web site,
but PATH_TRANSLATED is now empty. Is there another reliable
method to find the document root?
We are running the NSAPI version of PHP on iPlanet
Web Server 6.0.
------------------------------------------------------------------------
[2003-05-14 13:39:59] moriyoshi@php.net
The patch was reverted, and we're going to mark this PR as a
documentation problem for the following reasons:
1. PATH_TRANSLATED itself hadn't been implemented in either Apache2
SAPI as of 4.3.2-RC1.
http://cvs.php.net/diff.php/php4/sapi/apache2filter/sapi_apache2.c?r1=1.107&r2=1.108&ty=h
2. PATH_TRANSLATED is merely a supplementary piece of information on
the request URL and its availability is implementation-dependent.
3. As defined in the specification Shane mentioned, PATH_TRANSLATED
should not be present when PATH_INFO is not populated because
PATH_TRANSLATED is a translated form of PATH_INFO. In this point,
Apache1 SAPI does somewhat an evil thing.
------------------------------------------------------------------------
[2003-05-14 02:07:21] shane@php.net
This is not a bug, Apache is doing the right thing. PATH_TRANSLATED is
the translation of PATH_INFO. See http://cgi-spec.golux.com/
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23610
--
Edit this bug report at http://bugs.php.net/?id=23610&edit=1