Further information:

I am now testing with

server 
--------
lighttpd-1.4.18_1    (not apache!)

PHP 5.2.5 (cgi-fcgi) (built: Dec  4 2007 20:05:21)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

The compression is done by php (not lighttpd, which doesn't do that for
dynamic content) using

zlib.output_compression = On

in php.ini

user-agent
--------------
firefox-3.0                                
3.0~b3~cvs20080101t1000+nobinonly-0ubuntu1~gutsy1 lightweight web browser based 
on Mozilla (De
on
Kubuntu Gutsy (7.10)
Linux lounge3100ubuntu 2.6.22-14-generic #1 SMP Fri Feb 1 04:59:50 UTC 2008 
i686 GNU/Linux

The symtoms are exactlty the same, so that rules out apache and
mod_deflate as possible causes.

For the workaround I am now using this php code, right at the top of
each page:

# work around for the ubunu firefox redirect bug
if (isset($_SERVER['HTTPS']) &&
    isset($_SERVER['HTTP_USER_AGENT']) &&
    preg_match('~Firefox~', $_SERVER['HTTP_USER_AGENT']) &&
    preg_match('~Linux~', $_SERVER['HTTP_USER_AGENT']))
{
  ini_set('zlib.output_compression', 0);
}

-- 
firefix 2.0 slow redirect under ssl with gzip
https://bugs.launchpad.net/bugs/76262
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to