Comment 9 for bug 652343

Revision history for this message
Dan Scott (denials) wrote : Re: possible bug in r17593

As Ubuntu Hardy is based on Debian Lenny, and Ubuntu Lucid is based on a snapshot of Debian Squeeze, I believe that's why Hardy/Lenny show this problem, while Lucid/Squeeze do not.

As we now have the mod_deflate directives in the 1.6 branch, I suggest we investigate the use of the IfVersion directive (http://httpd.apache.org/docs/current/mod/mod_version.html#ifversion) to prevent mod_deflate from being used if the version of Apache in use is less than 2.2.14 (version shipped with Lucid).

Basically, wrap:

<IfVersion >= 2.2.14>
</IfVersion>

around any of the:

<IfModule mod_deflate.c>
...
</IfModule>

sections in eg_vhost.conf.