#13925 [Ana->Bgs]: SCRIPT_NAME in Apache 1.3.22 wrong (or at least different)
| From: | iliaa@php.net | Date: | Wed, 14 Aug 2002 17:50:49 +0000 |
| Subject: | #13925 [Ana->Bgs]: SCRIPT_NAME in Apache 1.3.22 wrong (or at least different) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16807@lists.php.net to get a copy of this message | ||
ID: 13925
Updated by: iliaa@php.net
Reported By: bobsledbob@yahoo.com
-Status: Analyzed
+Status: Bogus
Bug Type: Apache related
Operating System: FreeBSD 4.4-Stable
PHP Version: 4.0.6
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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
Thank you for your interest in PHP.
This bug was indeed the result of a bug in Apache. In Apache version
later then 1.3.22 this behavior is correct once again.
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 15:44:37] derick@php.net
I think this is related to the apache bug at:
http://bugs.apache.org/index.cgi/full/8582
------------------------------------------------------------------------
[2001-11-13 17:50:01] bate@php.net
Checked with latest CVS
and PHP 4.1.0RC1 + RC2
Script Output:
$PATH_INFO = /foo/bar
$SCRIPT_NAME = /script/foo/bar/script.php
I checked that too under RedHat + SuSE 7.x
with PHP 4.0.6
$PATH_INFO = /foo/bar
$SCRIPT_NAME = /script/foo/bar/script.php
------------------------------------------------------------------------
[2001-11-04 21:56:07] bobsledbob@yahoo.com
Hi,
I have a website on an ISP that runs FreeBSD 4.4 with a recently
upgraded Apache 1.3.22 webserver and PHP 4.06 compiled as CGI. My
sight relies on the $SCRIPT_NAME PHP global variable. It seems that
this variable is getting set differently with the new Apache? Here's
an example:
URL:
http://some.website.com/script/foo/bar
where
script = script.php using Apache multiviews
Before (Apache 1.3.20 / PHP 4.06):
$PATH_INFO = /foo/bar
$SCRIPT_NAME = /script
After (Apache 1.3.22 / PHP 4.06):
$PATH_INFO = /foo/bar
$SCRIPT_NAME = /script/foo/bar/script.php
I'm sorry I won't be able to give too much detail of this bug because I
don't have too much access to the machine (on the ISP), but let me know
how I can help with this issue and I'd be glad to do what I can.
Thanks.
Adam Taft
bobsledbob@yahoo.com
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13925&edit=1