Apache mod_gzip
Posted 02-21-2010 at 01:22 PM by routers
normaly on by default but check
grep 'mod_deflate' /etc/httpd/conf/httpd.conf
and add the following to httpd.conf
#
# Deflate output configuration
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
grep 'mod_deflate' /etc/httpd/conf/httpd.conf
and add the following to httpd.conf
#
# Deflate output configuration
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Total Comments 2
Comments
-
why?
I don't use apache httpd. and I don't have that path. even if I had why should I do it?Posted 02-21-2010 at 05:19 PM by Web31337 -
i need your help . why you give comment to my blog, because i use this only for my reference purpose, is this auto msg to you, kindly info me back
Posted 02-21-2010 at 11:48 PM by routers