From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.4-Stable
PHP version:      4.0.6
PHP Bug Type:     Apache related
Bug description:  SCRIPT_NAME in Apache 1.3.22 wrong (or at least different)

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
[EMAIL PROTECTED]


-- 
Edit bug report at: http://bugs.php.net/?id=13925&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to