-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Feb 14, 2002 at 02:44:53PM -0800, Jeffrey W. Baker wrote:
> Hrmm how interesting. My Apache is built with PHP (with DOM, MySQL, and
> Postgres) and mod_perl. With mod_gzip enabled it simply segfaults on
> every single request.
We have (other than the standard modules) mod_perl, mod_php, mod_ssl, mod_gzip,
mod_rewrite, and mod_auth_db, all statically linked. (At one point mod_fastcgi
was in this cocktail as well, but was removed once everything was converted to
mod_perl.) I do now recall having similar segfaults initially. The trick was
reordering the modules in Configuration so mod_gzip came last (which actually
puts it first, Apache processes the Configuration file from bottom to top). So
the relevant portions of our configure line are:
SSL_BASE="/usr" ./configure \
--enable-module=rewrite \
--enable-module=ssl --disable-rule=SSL_COMPAT \
--enable-module=auth_db \
--activate-module=src/modules/php4/libphp4.a \
--activate-module=src/modules/perl/libperl.a \
--add-module=src/modules/extra/mod_gzip.c
With this setup we have never had a problem. And with the most recent mod_gzip
(I believe it's 1.3.19.1a) it now properly plays along with mod_perl/mod_php,
and compresses their post-processing output as well.
- --
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjxsQ0MACgkQA4aoazQ9p2fUFwCeKOeIKDEuRR6361UpIc+PMCY1
X+gAnis3HX0X6GanHfovTCvQmejIL7be
=Dzyq
-----END PGP SIGNATURE-----