Monthly Archives: April 2015

如何启用IHS的gzip压缩

1vim /opt/IBM/HTTPServer/conf/httpd.conf 找到下面这行配置,uncomment它: 1LoadModule deflate_module modules/mod_deflate.so 找到 #AddOutputFilter INCLUDES .shtml 段,并在后面追加以下配置: 123AddOutputFilterByType DEFLATE text/html text/plain text/xml application/json #Highest 9 – Lowest 1 DeflateCompressionLevel 6 保存后重启IHS: 12[root@ralbz001167(SS_SRV2) conf]$ /opt/IBM/HTTPServer/bin/apachectl restart [root@ralbz001167(SS_SRV2) conf]$

Posted in Uncategorized | Leave a comment