Hello,
im trying to make mod_deflate running on server and managing cache. So i want to ask how i can be sure this module is working?
# ls /usr/local/apache/modules
httpd.exp libphp5.so* mod_bwlimited.so* mod_disable_suexec.so* mod_evasive20.so* mod_ruid2.so* mod_security2.so mod_suphp.so*
# cat /usr/local/apache/conf/httpd.conf | grep eva
LoadModule evasive20_module modules/mod_evasive20.so
# httpd -M | grep eva
Syntax OK
evasive20_module (shared)
# cat /usr/local/apache/conf/httpd.conf | grep defl
NOTHING
# httpd -M | grep defl
deflate_module (static)
Syntax OK
# httpd -v
Server version: Apache/2.2.27 (Unix)
Server built: Aug 1 2014 04:13:19
Cpanel::Easy::Apache v3.26.3 rev9999
# php -v
PHP 5.3.28 (cli) (built: Aug 1 2014 04:28:18)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
# curl -I -H 'Accept-Encoding: gzip,deflate' http://mydomain.com
...
Cache-Control: private
Pragma: private
Content-Encoding: gzip
...
Vary: User-Agent
so i see it appears to be enabled in apache, but i cant find it in httpd.conf, any mod deflate log or anything to veriffy it does the job? I see content is gzip encoded, but it non necesarrily mean that its done by mod_deflate? thx