is apache 2.4 actually getting compiled with mod_deflate?

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
620
I cannot find mod_deflate.so anywheres, the httpd-deflate.conf does not actually point to the so file so that didn't help.
attached is screenshot of all modules.

Capture.JPG
 
Last edited:
the cnfigure file has it listed but I cannot find the so file

#!/bin/sh
"./configure" \
"--prefix=/etc/httpd" \
"--exec-prefix=/etc/httpd" \
"--bindir=/usr/bin" \
"--sbindir=/usr/sbin" \
"--sysconfdir=/etc/httpd/conf" \
"--enable-so" \
"--enable-dav" \
"--enable-dav-fs" \
"--enable-dav-lock" \
"--enable-suexec" \
"--enable-deflate" \
"--enable-unique-id" \
"--enable-cgi" \
"--disable-cgid" \
"--enable-mods-static=most" \
"--enable-mpms-shared=all" \
"--with-suexec-safedir=/usr/local/safe-bin" \
"--with-suexec-caller=apache" \
"--with-suexec-docroot=/" \
"--with-suexec-gidmin=100" \
"--with-suexec-logfile=/var/log/httpd/suexec_log" \
"--with-suexec-uidmin=100" \
"--with-suexec-userdir=public_html" \
"--with-suexec-bin=/usr/sbin/suexec" \
"--with-included-apr" \
"--with-pcre=/usr/local" \
"--includedir=/usr/include/apache" \
"--libexecdir=/usr/lib/apache" \
"--datadir=/var/www" \
"--localstatedir=/var" \
"--enable-logio" \
"--enable-ssl" \
"--enable-rewrite" \
"--enable-proxy" \
"--enable-expires" \
"--enable-reqtimeout" \
"--with-ssl=/usr" \
"--enable-headers"
 
fwiw I ran this cmd against the mod_deflate.c
/usr/sbin/apxs -c -i mod_deflate.c
then moved the so file to the modules directory.
I needed to do this to point mod_pagespeed to the deflate module as IT loads mod_deflate.
the
Include conf/extra/httpd-deflate.conf
line in httpd.conf gets commented out and the pagespeed_conf handles it.
 
It is not a DSO by default, so the so file should not exist there. It does not mean you are not running mod_deflate.
 
Back
Top