Bug #13925: SCRIPT_NAME in Apache 1.3.22 wrong (or at least different)

From: Date: Mon, 05 Nov 2001 02:56:07 +0000
Subject: Bug #13925: SCRIPT_NAME in Apache 1.3.22 wrong (or at least different)
Groups: php.dev 
Request: Send a blank email to php-dev+get-69622@lists.php.net to get a copy of this message
From: bobsledbob@yahoo.com 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 bobsledbob@yahoo.com -- Edit bug report at: http://bugs.php.net/?id=13925&edit=1

« previous php.dev (#69622) next »