#21261 [Opn]: $_SERVER['PHP_SELF'] gives wrong info
| From: | shane@php.net | Date: | Mon, 06 Jan 2003 03:58:19 +0000 |
| Subject: | #21261 [Opn]: $_SERVER['PHP_SELF'] gives wrong info | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29171@lists.php.net to get a copy of this message | ||
ID: 21261
Updated by: shane@php.net
Reported By: undream@yifan.net
Status: Open
Bug Type: Scripting Engine problem
Operating System: linux 2.4.18 - slack 8.1
PHP Version: 4.3.0
New Comment:
The patch at
http://www.caraveo.com/php/cgi.patch
Should fix this problem. Please try this and let me know. It's
against cvs HEAD from today.
Previous Comments:
------------------------------------------------------------------------
[2003-01-02 10:54:32] tapken@engter.de
I'm using php with cgiwrap.
http://cgiwrap.unixtools.org/
I added two small patches as described in Bug #21301 but i don't know
if they work with current cvs version.
In httpd.conf:
AddHandler php-cgiwrap .php
Action php-cgiwrap /cgiwrapper/php-cgiwrap/<USER>
ScriptAlias /cgiwrapper/ /usr/local/cgiwrap/
------------------------------------------------------------------------
[2003-01-01 11:21:36] undream@yifan.net
Are you talking about this?
ScriptAlias /cgi/ /var/www/htdcos/cgi/
Action application/x-httpd-php /cgi/php
AddType application/x-httpd-php .php
I can also post my ini and my configure script though you
can probably get that info from the env.html I posted
earlier.
------------------------------------------------------------------------
[2002-12-31 01:21:50] shane@caraveo.com
Send me the pertinent lines out of httpd.conf that you have used to
configure php so I can test with the same settings.
------------------------------------------------------------------------
[2002-12-30 20:21:48] pollita@php.net
Probable cause found.... Checking with submitter of prior patch.
------------------------------------------------------------------------
[2002-12-30 20:21:02] tapken@engter.de
I have a similar problem. It is discribed in
http://bugs.php.net/bug.php?id=21301
The result of set cat be viewed on
http://www.engter.de/shenv.php
------------------------------------------------------------------------
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/21261
--
Edit this bug report at http://bugs.php.net/?id=21261&edit=1