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

2003-08-21 Thread paulknapp at att dot net
 ID:   22233
 Comment by:   paulknapp at att dot net
 Reported By:  zlo at canada dot com
 Status:   Assigned
 Bug Type: CGI related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.2-dev
 Assigned To:  shane
 New Comment:

I am having the same issues:

I am expecting  and getting 

the server is set up with version 4.3.1

Is there a fix?


Previous Comments:


[2003-03-05 01:57:14] mailing at auktionmaster dot de

Yust tested a new snapshot (4.3.2-dev):
Problem is nearly solved :-)

Now: if you call "http://host/test.php?a=test";
where test.php does phpinfo(); then $PHP_SELF ist set to
"/test.php?a=test". I think there should be no parameter...

Even the PHP-Logo is NOT shown :-)
"http://host/test.php"; works fine. So as mod-Version

Regards,
  Bjoern



[2003-03-04 10:54:11] mailing at auktionmaster dot de

Problem WAS fixed in an older snapshot but actually it is not.
$PHP_SELF and all other variables like $_SERVER[PHP_SELF] are set to a
wrong value (sometimes they are still empty).

Depending on this the following problem occours:

http://host/test.php?userid=1passwd=1 works;
http://host/testtesttest.php?userid=1passwd=1 doesn't work;

The file exist in both cases of course. Sometime the "parameter" is not
splited on "&"



[2003-02-24 10:30:18] Julian dot Pawlowski at jp-solution dot net

Ooops I'm very sorry... just tried the actual snapshot and now
everything works fine for me ;)

Greetings from Munich

Julian



[2003-02-24 09:50:11] Julian dot Pawlowski at jp-solution dot net

failure also on SuSE Linux 8.1 compiling with:

./configure \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-memory-limit \
--enable-safe-mode=yes \
--enable-sigchild \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-versioning \
--enable-force-cgi-redirect \
--enable-fastcgi \
--with-ldap \
--with-bz2 \
--with-ftp \
--with-gdbm \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mysql-sock=/tmp/mysql.sock \
--with-mysql=/usr/local/mysql/current \
--with-ndbm \
--with-png-dir=/usr/local/lib \
--with-t1lib \
--with-tiff-dir=/usr/local/lib \
--with-ttf \
--with-freetype-dir=yes \
--with-xml \
--with-zlib=yes \
--with-openssl=/usr/local/openssl/current \
--with-gd=yes \
--with-iconv \
--with-pspell \
--with-exec-dir=/vol0/www \
--with-config-file-path=/vol0/www/config \
--with-pear=/usr/local/php/pear \
--prefix=/usr/local/php/4.3.1



[2003-02-23 18:30:52] [EMAIL PROTECTED]

..and assign to Shane, who I think said something about looking into
this..




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/22233

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



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

2003-03-04 Thread mailing at auktionmaster dot de
 ID:   22233
 Comment by:   mailing at auktionmaster dot de
 Reported By:  zlo at canada dot com
 Status:   Assigned
 Bug Type: CGI related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.2-dev
 Assigned To:  shane
 New Comment:

Yust tested a new snapshot (4.3.2-dev):
Problem is nearly solved :-)

Now: if you call "http://host/test.php?a=test";
where test.php does phpinfo(); then $PHP_SELF ist set to
"/test.php?a=test". I think there should be no parameter...

Even the PHP-Logo is NOT shown :-)
"http://host/test.php"; works fine. So as mod-Version

Regards,
  Bjoern


Previous Comments:


[2003-03-04 10:54:11] mailing at auktionmaster dot de

Problem WAS fixed in an older snapshot but actually it is not.
$PHP_SELF and all other variables like $_SERVER[PHP_SELF] are set to a
wrong value (sometimes they are still empty).

Depending on this the following problem occours:

http://host/test.php?userid=1passwd=1 works;
http://host/testtesttest.php?userid=1passwd=1 doesn't work;

The file exist in both cases of course. Sometime the "parameter" is not
splited on "&"



[2003-02-24 10:30:18] Julian dot Pawlowski at jp-solution dot net

Ooops I'm very sorry... just tried the actual snapshot and now
everything works fine for me ;)

Greetings from Munich

Julian



[2003-02-24 09:50:11] Julian dot Pawlowski at jp-solution dot net

failure also on SuSE Linux 8.1 compiling with:

./configure \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-memory-limit \
--enable-safe-mode=yes \
--enable-sigchild \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-versioning \
--enable-force-cgi-redirect \
--enable-fastcgi \
--with-ldap \
--with-bz2 \
--with-ftp \
--with-gdbm \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mysql-sock=/tmp/mysql.sock \
--with-mysql=/usr/local/mysql/current \
--with-ndbm \
--with-png-dir=/usr/local/lib \
--with-t1lib \
--with-tiff-dir=/usr/local/lib \
--with-ttf \
--with-freetype-dir=yes \
--with-xml \
--with-zlib=yes \
--with-openssl=/usr/local/openssl/current \
--with-gd=yes \
--with-iconv \
--with-pspell \
--with-exec-dir=/vol0/www \
--with-config-file-path=/vol0/www/config \
--with-pear=/usr/local/php/pear \
--prefix=/usr/local/php/4.3.1



[2003-02-23 18:30:52] [EMAIL PROTECTED]

..and assign to Shane, who I think said something about looking into
this..




[2003-02-23 18:29:31] [EMAIL PROTECTED]

(updated tested PHP version)




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/22233

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



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

2003-03-04 Thread mailing at auktionmaster dot de
 ID:   22233
 Comment by:   mailing at auktionmaster dot de
 Reported By:  zlo at canada dot com
 Status:   Assigned
 Bug Type: CGI related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.2-dev
 Assigned To:  shane
 New Comment:

Problem WAS fixed in an older snapshot but actually it is not.
$PHP_SELF and all other variables like $_SERVER[PHP_SELF] are set to a
wrong value (sometimes they are still empty).

Depending on this the following problem occours:

http://host/test.php?userid=1passwd=1 works;
http://host/testtesttest.php?userid=1passwd=1 doesn't work;

The file exist in both cases of course. Sometime the "parameter" is not
splited on "&"


Previous Comments:


[2003-02-24 10:30:18] Julian dot Pawlowski at jp-solution dot net

Ooops I'm very sorry... just tried the actual snapshot and now
everything works fine for me ;)

Greetings from Munich

Julian



[2003-02-24 09:50:11] Julian dot Pawlowski at jp-solution dot net

failure also on SuSE Linux 8.1 compiling with:

./configure \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-memory-limit \
--enable-safe-mode=yes \
--enable-sigchild \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-versioning \
--enable-force-cgi-redirect \
--enable-fastcgi \
--with-ldap \
--with-bz2 \
--with-ftp \
--with-gdbm \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mysql-sock=/tmp/mysql.sock \
--with-mysql=/usr/local/mysql/current \
--with-ndbm \
--with-png-dir=/usr/local/lib \
--with-t1lib \
--with-tiff-dir=/usr/local/lib \
--with-ttf \
--with-freetype-dir=yes \
--with-xml \
--with-zlib=yes \
--with-openssl=/usr/local/openssl/current \
--with-gd=yes \
--with-iconv \
--with-pspell \
--with-exec-dir=/vol0/www \
--with-config-file-path=/vol0/www/config \
--with-pear=/usr/local/php/pear \
--prefix=/usr/local/php/4.3.1



[2003-02-23 18:30:52] [EMAIL PROTECTED]

..and assign to Shane, who I think said something about looking into
this..




[2003-02-23 18:29:31] [EMAIL PROTECTED]

(updated tested PHP version)




[2003-02-23 18:21:29] g00155005 at mersin dot edu dot tr

and also i should add returned $_SERVER['PHP_SELF'] value is not
related to real path.
e.g.:
Document root: /var/www/html
document : /var/www/html/genel/index.php
URL: http://localhost/genel/index.php
PHP_SELF: l/genel/index.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/22233

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



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

2003-02-24 Thread Julian dot Pawlowski at jp-solution dot net
 ID:   22233
 Comment by:   Julian dot Pawlowski at jp-solution dot net
 Reported By:  zlo at canada dot com
 Status:   Assigned
 Bug Type: CGI related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.2-dev
 Assigned To:  shane
 New Comment:

Ooops I'm very sorry... just tried the actual snapshot and now
everything works fine for me ;)

Greetings from Munich

Julian


Previous Comments:


[2003-02-24 09:50:11] Julian dot Pawlowski at jp-solution dot net

failure also on SuSE Linux 8.1 compiling with:

./configure \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-memory-limit \
--enable-safe-mode=yes \
--enable-sigchild \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-versioning \
--enable-force-cgi-redirect \
--enable-fastcgi \
--with-ldap \
--with-bz2 \
--with-ftp \
--with-gdbm \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mysql-sock=/tmp/mysql.sock \
--with-mysql=/usr/local/mysql/current \
--with-ndbm \
--with-png-dir=/usr/local/lib \
--with-t1lib \
--with-tiff-dir=/usr/local/lib \
--with-ttf \
--with-freetype-dir=yes \
--with-xml \
--with-zlib=yes \
--with-openssl=/usr/local/openssl/current \
--with-gd=yes \
--with-iconv \
--with-pspell \
--with-exec-dir=/vol0/www \
--with-config-file-path=/vol0/www/config \
--with-pear=/usr/local/php/pear \
--prefix=/usr/local/php/4.3.1



[2003-02-23 18:30:52] [EMAIL PROTECTED]

..and assign to Shane, who I think said something about looking into
this..




[2003-02-23 18:29:31] [EMAIL PROTECTED]

(updated tested PHP version)




[2003-02-23 18:21:29] g00155005 at mersin dot edu dot tr

and also i should add returned $_SERVER['PHP_SELF'] value is not
related to real path.
e.g.:
Document root: /var/www/html
document : /var/www/html/genel/index.php
URL: http://localhost/genel/index.php
PHP_SELF: l/genel/index.php



[2003-02-23 18:16:20] g00155005 at mersin dot edu dot tr

I am using tar.gz php 4.3.1 with BODY on redhat 8.0 for php development
purposes. But this bug makes the process impossible. 

System Linux fsniper 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 
Build Date Feb 21 2003 02:20:03 
Configure Command './configure' '--enable-onstatement' Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini)
Path /usr/local/lib/php.ini 
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp



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/22233

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



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

2003-02-24 Thread Julian dot Pawlowski at jp-solution dot net
 ID:   22233
 Comment by:   Julian dot Pawlowski at jp-solution dot net
 Reported By:  zlo at canada dot com
 Status:   Assigned
 Bug Type: CGI related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.2-dev
 Assigned To:  shane
 New Comment:

failure also on SuSE Linux 8.1 compiling with:

./configure \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-memory-limit \
--enable-safe-mode=yes \
--enable-sigchild \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-versioning \
--enable-force-cgi-redirect \
--enable-fastcgi \
--with-ldap \
--with-bz2 \
--with-ftp \
--with-gdbm \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mysql-sock=/tmp/mysql.sock \
--with-mysql=/usr/local/mysql/current \
--with-ndbm \
--with-png-dir=/usr/local/lib \
--with-t1lib \
--with-tiff-dir=/usr/local/lib \
--with-ttf \
--with-freetype-dir=yes \
--with-xml \
--with-zlib=yes \
--with-openssl=/usr/local/openssl/current \
--with-gd=yes \
--with-iconv \
--with-pspell \
--with-exec-dir=/vol0/www \
--with-config-file-path=/vol0/www/config \
--with-pear=/usr/local/php/pear \
--prefix=/usr/local/php/4.3.1


Previous Comments:


[2003-02-23 18:30:52] [EMAIL PROTECTED]

..and assign to Shane, who I think said something about looking into
this..




[2003-02-23 18:29:31] [EMAIL PROTECTED]

(updated tested PHP version)




[2003-02-23 18:21:29] g00155005 at mersin dot edu dot tr

and also i should add returned $_SERVER['PHP_SELF'] value is not
related to real path.
e.g.:
Document root: /var/www/html
document : /var/www/html/genel/index.php
URL: http://localhost/genel/index.php
PHP_SELF: l/genel/index.php



[2003-02-23 18:16:20] g00155005 at mersin dot edu dot tr

I am using tar.gz php 4.3.1 with BODY on redhat 8.0 for php development
purposes. But this bug makes the process impossible. 

System Linux fsniper 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 
Build Date Feb 21 2003 02:20:03 
Configure Command './configure' '--enable-onstatement' Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini)
Path /usr/local/lib/php.ini 
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp



[2003-02-18 06:05:44] zlo at canada dot com

Also reproducable with PHP Version 4.3.2-dev on RH7.2 with bare
configure (only --prefix specified).



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/22233

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



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

2003-02-23 Thread g00155005 at mersin dot edu dot tr
 ID:   22233
 Comment by:   g00155005 at mersin dot edu dot tr
 Reported By:  zlo at canada dot com
 Status:   Verified
 Bug Type: Apache related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.1-dev
 New Comment:

and also i should add returned $_SERVER['PHP_SELF'] value is not
related to real path.
e.g.:
Document root: /var/www/html
document : /var/www/html/genel/index.php
URL: http://localhost/genel/index.php
PHP_SELF: l/genel/index.php


Previous Comments:


[2003-02-23 18:16:20] g00155005 at mersin dot edu dot tr

I am using tar.gz php 4.3.1 with BODY on redhat 8.0 for php development
purposes. But this bug makes the process impossible. 

System Linux fsniper 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 
Build Date Feb 21 2003 02:20:03 
Configure Command './configure' '--enable-onstatement' Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini)
Path /usr/local/lib/php.ini 
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp



[2003-02-18 06:05:44] zlo at canada dot com

Also reproducable with PHP Version 4.3.2-dev on RH7.2 with bare
configure (only --prefix specified).



[2003-02-18 04:42:19] thorsten at phpmyfaq dot de

reproducable also _without_ mod_gzip on Debian Woody and the same
configure



[2003-02-18 02:40:09] thorsten at phpmyfaq dot de

reproduced with PHP 4.3.1 final with Debian Woody 3.0

My configure:
./configure --enable-track-vars=yes --enable-magic-quotes
--enable-versioning --disable-debug --enable-trans-sid
--enable-inline-optimization --enable-track-vars=yes
--enable-track-vars --with-db --with-gdbm --enable-force-cgi-redirect
--enable-mhash --with-openssl --with-iconv --with-mysql=/usr
-with-pgsql=/usr --with-ldap --enable-bcmath --enable-calendar
--enable-ftp --enable-memory-limit --enable-wddx --with-zlib
--with-zlib-dir=/usr/lib --with-ttf=/usr/lib --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gd --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-exif --enable-ctype --enable-shmop
--enable-sysvsem --enable-sysvshm --with-mcrypt --enable-discard-path
--enable-mbstring



[2003-02-16 14:05:03] [EMAIL PROTECTED]

reproducable with 4.2.3 and 4.0.6 on windows.



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/22233

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



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

2003-02-23 Thread g00155005 at mersin dot edu dot tr
 ID:   22233
 Comment by:   g00155005 at mersin dot edu dot tr
 Reported By:  zlo at canada dot com
 Status:   Verified
 Bug Type: Apache related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.1-dev
 New Comment:

I am using tar.gz php 4.3.1 with BODY on redhat 8.0 for php development
purposes. But this bug makes the process impossible. 

System Linux fsniper 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 
Build Date Feb 21 2003 02:20:03 
Configure Command './configure' '--enable-onstatement' Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini)
Path /usr/local/lib/php.ini 
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp


Previous Comments:


[2003-02-18 06:05:44] zlo at canada dot com

Also reproducable with PHP Version 4.3.2-dev on RH7.2 with bare
configure (only --prefix specified).



[2003-02-18 04:42:19] thorsten at phpmyfaq dot de

reproducable also _without_ mod_gzip on Debian Woody and the same
configure



[2003-02-18 02:40:09] thorsten at phpmyfaq dot de

reproduced with PHP 4.3.1 final with Debian Woody 3.0

My configure:
./configure --enable-track-vars=yes --enable-magic-quotes
--enable-versioning --disable-debug --enable-trans-sid
--enable-inline-optimization --enable-track-vars=yes
--enable-track-vars --with-db --with-gdbm --enable-force-cgi-redirect
--enable-mhash --with-openssl --with-iconv --with-mysql=/usr
-with-pgsql=/usr --with-ldap --enable-bcmath --enable-calendar
--enable-ftp --enable-memory-limit --enable-wddx --with-zlib
--with-zlib-dir=/usr/lib --with-ttf=/usr/lib --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gd --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-exif --enable-ctype --enable-shmop
--enable-sysvsem --enable-sysvshm --with-mcrypt --enable-discard-path
--enable-mbstring



[2003-02-16 14:05:03] [EMAIL PROTECTED]

reproducable with 4.2.3 and 4.0.6 on windows.



[2003-02-15 18:52:59] [EMAIL PROTECTED]

Reproduced with PHP 4.3.1-dev..




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/22233

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



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

2003-02-18 Thread thorsten at phpmyfaq dot de
 ID:   22233
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  zlo at canada dot com
 Status:   Verified
 Bug Type: Apache related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.1-dev
 New Comment:

reproducable also _without_ mod_gzip on Debian Woody and the same
configure


Previous Comments:


[2003-02-18 02:40:09] thorsten at phpmyfaq dot de

reproduced with PHP 4.3.1 final with Debian Woody 3.0

My configure:
./configure --enable-track-vars=yes --enable-magic-quotes
--enable-versioning --disable-debug --enable-trans-sid
--enable-inline-optimization --enable-track-vars=yes
--enable-track-vars --with-db --with-gdbm --enable-force-cgi-redirect
--enable-mhash --with-openssl --with-iconv --with-mysql=/usr
-with-pgsql=/usr --with-ldap --enable-bcmath --enable-calendar
--enable-ftp --enable-memory-limit --enable-wddx --with-zlib
--with-zlib-dir=/usr/lib --with-ttf=/usr/lib --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gd --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-exif --enable-ctype --enable-shmop
--enable-sysvsem --enable-sysvshm --with-mcrypt --enable-discard-path
--enable-mbstring



[2003-02-16 14:05:03] [EMAIL PROTECTED]

reproducable with 4.2.3 and 4.0.6 on windows.



[2003-02-15 18:52:59] [EMAIL PROTECTED]

Reproduced with PHP 4.3.1-dev..




[2003-02-15 18:18:36] zlo at canada dot com

tried that, apparently it's not fixed.
just compiled php4-STABLE-200302152230, problem is still there.
when i turn on mod_gzip, its works like magic!



[2003-02-15 17:23:37] [EMAIL PROTECTED]

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


This should be fixed already.




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/22233

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




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

2003-02-18 Thread thorsten at phpmyfaq dot de
 ID:   22233
 Comment by:   thorsten at phpmyfaq dot de
 Reported By:  zlo at canada dot com
 Status:   Verified
 Bug Type: Apache related
 Operating System: RedHat 7.1, 7.2
 PHP Version:  4.3.1-dev
 New Comment:

reproduced with PHP 4.3.1 final with Debian Woody 3.0

My configure:
./configure --enable-track-vars=yes --enable-magic-quotes
--enable-versioning --disable-debug --enable-trans-sid
--enable-inline-optimization --enable-track-vars=yes
--enable-track-vars --with-db --with-gdbm --enable-force-cgi-redirect
--enable-mhash --with-openssl --with-iconv --with-mysql=/usr
-with-pgsql=/usr --with-ldap --enable-bcmath --enable-calendar
--enable-ftp --enable-memory-limit --enable-wddx --with-zlib
--with-zlib-dir=/usr/lib --with-ttf=/usr/lib --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gd --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-exif --enable-ctype --enable-shmop
--enable-sysvsem --enable-sysvshm --with-mcrypt --enable-discard-path
--enable-mbstring


Previous Comments:


[2003-02-16 14:05:03] [EMAIL PROTECTED]

reproducable with 4.2.3 and 4.0.6 on windows.



[2003-02-15 18:52:59] [EMAIL PROTECTED]

Reproduced with PHP 4.3.1-dev..




[2003-02-15 18:18:36] zlo at canada dot com

tried that, apparently it's not fixed.
just compiled php4-STABLE-200302152230, problem is still there.
when i turn on mod_gzip, its works like magic!



[2003-02-15 17:23:37] [EMAIL PROTECTED]

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


This should be fixed already.




[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