国产成人av电影在线观看第一页,日本高清色WWW网站,国产又色又爽又黄的视频在线观看,亚洲国产精品无码专区在线观看

Board logo

標(biāo)題: [求助] WDCP2.1如何啟用gzip [打印本頁]

作者: jnbbs001    時間: 2012-1-11 15:21     標(biāo)題: WDCP2.1如何啟用gzip

WDCP2.1如何啟用gzip

求詳細(xì)步驟
作者: admin    時間: 2012-1-11 19:06

默認(rèn)是開啟的
作者: jnbbs001    時間: 2012-1-12 10:34

回復(fù) 2# admin


    站長工具測試,沒有開啟gzip
作者: admin    時間: 2012-1-12 15:19

[root@wdlinux ~]# /www/wdlinux/apache/bin/httpd -l | grep deflate
  mod_deflate.c
能看到這個,就說明支持gzip了,不過跟一些程序或后續(xù)文件有關(guān)
如果一些工具測試還是不行,在/www/wdlinux/apache/conf/httpd.conf的最好加力
  1. <IfModule mod_deflate.c>
  2. DeflateCompressionLevel 7
  3. AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-
  4. php
  5. AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
  6. </IfModule>
復(fù)制代碼

具體的文件類型可根據(jù)情況調(diào)整

重起服務(wù)
service httpd restart
作者: admin    時間: 2012-1-12 16:23

http://www.ks987.com/bbs/thread-1063-1-1.html




歡迎光臨 WDlinux官方論壇 (http://www.ks987.com/bbs/) Powered by Discuz! 7.2