Submitted by andreychek on Sun, 01/10/2016 - 22:50Comment #3
Okay, what you would need to do is verify that a line like this exists in the /etc/httpd/conf/httpd.conf file:
LoadModule deflate_module modules/mod_deflate.so
If it doesn't, you would need to add it.
Exactly how to use mod_deflate varies depending on your needs, but a basic example of how to start would be to add lines like the following to your Apache config:
Comments
Submitted by andreychek on Sun, 01/10/2016 - 10:19 Comment #1
Howdy -- what distro/version is it that you're using there?
Submitted by hescominsoon on Sun, 01/10/2016 - 22:40 Pro Licensee Comment #2
centos 6.x 64 bit.
Submitted by andreychek on Sun, 01/10/2016 - 22:50 Comment #3
Okay, what you would need to do is verify that a line like this exists in the /etc/httpd/conf/httpd.conf file:
LoadModule deflate_module modules/mod_deflate.so
If it doesn't, you would need to add it.
Exactly how to use mod_deflate varies depending on your needs, but a basic example of how to start would be to add lines like the following to your Apache config:
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/xml