#22233 [Fbk->NoF]: "mod_gzip_on yes" makes force-cgi-redirect disabled and incorrect PHP_SELF

From: Date: Tue, 20 Apr 2004 22:13:37 +0000
Subject: #22233 [Fbk->NoF]: "mod_gzip_on yes" makes force-cgi-redirect disabled and incorrect PHP_SELF
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-58482@lists.php.net to get a copy of this message
 ID:               22233
 Updated by:       iliaa@php.net
 Reported By:      zlo at canada dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         CGI related
 Operating System: RedHat 7.1, 7.2
 PHP Version:      4CVS, 5CVS
 Assigned To:      shane
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2004-04-13 12:50:07] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-02-16 14:05:03] shane@php.net

reproducable with 4.2.3 and 4.0.6 on windows.

------------------------------------------------------------------------

[2003-02-15 18:52:59] sniper@php.net

Reproduced with PHP 4.3.1-dev..


------------------------------------------------------------------------

[2003-02-15 13:06:48] zlo at canada dot com

when "mod_gzip_on yes", PHP's force-cgi-redirect security mechanizm
becomes disabled (urls like /cgi-bin/php/test.php start working) and
PHP_SELF takes on a wrong value (/cgi-bin/php/test.php).
when "mod_gzip_on no", both aspects of the problem disappear.
problem has been observed on 2 different systems.
apache version: 1.3.26, 1.3.27
php version: latest snapshot
mod_gzip version: latest
php.ini does not exist.
php's configure:
./configure \
        --with-config-file-path=/path/to/php \
        --prefix=/path/to/php \
        --enable-force-cgi-redirect \
        --disable-cli \
        --enable-bcmath \
        --enable-trans-sid \
        --with-zlib-dir=/build/zlib-1.1.4 \
        --with-gd=/build/gd-1.8.4 \
        --with-png-dir=/build/png-1.2.4 \
        --with-jpeg-dir=/build/jpeg-6b \
        --with-freetype \

apache's configure:
./configure \
        --prefix=/path/to/apache \
        --enable-module=so \
        --enable-suexec \
        --suexec-caller=www \
        --suexec-docroot=/www \
no other modules loaded other than mod_gzip.
i thought this could well be PHP's problem. sorry if i'm wrong, then
please direct me to other possible sources of the problem.

------------------------------------------------------------------------


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


Thread (19 messages)

« previous php.bugs (#58482) next »