摘要:
ubuntu linux apache 怎么启用gzip首先查看apache是否加载了mod_deflate.so模块,如果没有需要安装加载。找到并下载和当前apache版本相同的源码文件,解压缩到/home目录下,在apache安装目录下执行:/usr/local/apache2/bin/apxs -i -c /home/httpd-2.0.63/modules/filters/mod_deflate.会自动在 httpd.conf添加LoadModule deflate_module modules/mod_deflate.so添加如下设置:<IfModule mod_deflate 阅读全文