I've come across some article online to enable mod_deflate to gzip files while sending from the server.
For that, I tried to load the mod_deflate.so
module by adding a line on my httpd.conf
LoadModule deflate_module modules/mod_deflate.so
But it seems the mod_deflate.so
file is missing from the server.
I tried a find / -name "mod_deflate.so" -print
but it returns no results.
So how do I compile and add mod_deflate
to my modules directory?
Update:
I found out this tutorial at http://streetsmartingit.blogspot.in/2007/11/how-to-compileinstall-moddeflate-into.html?m=1
Step 1 says:
Hack apr-config located in the /usr/local/apache2/bin directory so
the LDFLAGS will have the "-lz" value similar below:
LDFLAGS="-lz"
What does 'Hack apr-config' this mean?