From:             [EMAIL PROTECTED]
Operating system: RedHat 7.1, 7.2
PHP version:      4CVS-2003-02-15 (stable)
PHP Bug Type:     Apache related
Bug description:  "mod_gzip_on yes" makes force-cgi-redirect disabled and incorrect 
PHP_SELF

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 bug report at http://bugs.php.net/?id=22233&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22233&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22233&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22233&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22233&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22233&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22233&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22233&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22233&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22233&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22233&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22233&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22233&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22233&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22233&r=gnused

Reply via email to