四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区
標(biāo)題:
[求助]
WDCP2.1如何啟用gzip
[打印本頁(yè)]
作者:
jnbbs001
時(shí)間:
2012-1-11 15:21
標(biāo)題:
WDCP2.1如何啟用gzip
WDCP2.1如何啟用gzip
求詳細(xì)步驟
作者:
admin
時(shí)間:
2012-1-11 19:06
默認(rèn)是開(kāi)啟的
作者:
jnbbs001
時(shí)間:
2012-1-12 10:34
回復(fù)
2#
admin
站長(zhǎng)工具測(cè)試,沒(méi)有開(kāi)啟gzip
作者:
admin
時(shí)間:
2012-1-12 15:19
[root@wdlinux ~]# /www/wdlinux/apache/bin/httpd -l | grep deflate
mod_deflate.c
能看到這個(gè),就說(shuō)明支持gzip了,不過(guò)跟一些程序或后續(xù)文件有關(guān)
如果一些工具測(cè)試還是不行,在/www/wdlinux/apache/conf/httpd.conf的最好加力
<IfModule mod_deflate.c>
DeflateCompressionLevel 7
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-
php
AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
</IfModule>
復(fù)制代碼
具體的文件類型可根據(jù)情況調(diào)整
重起服務(wù)
service httpd restart
作者:
admin
時(shí)間:
2012-1-12 16:23
http://cd-genova.com/bbs/thread-1063-1-1.html
歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/)
Powered by Discuz! 7.2