how to check mod_deflate is enabled in apache?

omg picture omg · Jun 9, 2009 · Viewed 85.3k times · Source

Is there a command line command that can tell whether or not mod deflate is running on Apache?

Answer

Juri Glass picture Juri Glass · Jul 5, 2010

It is probably to late, but here we go.

mod_deflate is enabled per default. To be sure, try

debian / ubuntu: apache2ctl -t -D DUMP_MODULES

CentOS: httpd -t -D DUMP_MODULES

and look if there is a deflate_module.