<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>吃饱了撑着</title>
	<atom:link href="http://www.chibl.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chibl.com</link>
	<description>Miracle&#039;s weblog, ChiBL.COM, Since 2010</description>
	<lastBuildDate>Wed, 28 Dec 2011 02:24:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Domain.com域名注册优惠码：1.99美元 截止：2011/12/31</title>
		<link>http://www.chibl.com/archives/676</link>
		<comments>http://www.chibl.com/archives/676#comments</comments>
		<pubDate>Wed, 28 Dec 2011 02:24:48 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[建站历程]]></category>
		<category><![CDATA[Domain.com]]></category>
		<category><![CDATA[域名优惠码]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=676</guid>
		<description><![CDATA[链接：http://www.domain.com 说明：首年注册.com域名费用仅需1.99美元，可注册多个 付款方式：PayPal、信用卡 有效期：2011/12/31 优惠码：199COMPPC]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.domain.com/images/top-left-logo.png" alt="" /></p>
<p>链接：<a title="http://www.domain.com" href="http://www.domain.com" target="_blank">http://www.domain.com</a></p>
<p>说明：首年注册.com域名费用仅需1.99美元，可注册多个</p>
<p>付款方式：PayPal、信用卡</p>
<p>有效期：2011/12/31</p>
<p>优惠码：199COMPPC</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/676/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>吃饱了撑着年底小结与何去何从</title>
		<link>http://www.chibl.com/archives/674</link>
		<comments>http://www.chibl.com/archives/674#comments</comments>
		<pubDate>Mon, 26 Dec 2011 04:02:09 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[随便说说]]></category>
		<category><![CDATA[吃饱了撑着]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=674</guid>
		<description><![CDATA[吃饱了撑着建立也快有两年了吧，从最初写点生活破事儿，技术杂谈，然后对香港空间ICDSoft的推荐；未来的计划吧，简而言之以推荐香港空间，国外空间和域名优惠导购为主，加之哥们儿的使用技巧分享]]></description>
			<content:encoded><![CDATA[<p>吃饱了撑着建立也快有两年了吧，从最初写点生活破事儿，技术杂谈，然后对香港空间ICDSoft的推荐，到最近2个来月的无心打理任其荒废。</p>
<p>今年曾对吃饱了撑着的category/tag，文章的keyword/description做了些调整，最终导致的结果是百度排名的滞后，这是让我无心继续写下去的主要原因！</p>
<p>这年底小结算是完了，未来的计划吧，简而言之以推荐香港空间，国外空间和域名优惠导购为主，加之哥们儿的使用技巧分享，其它乱七八糟的就不往这儿喷了。</p>
<p>少说话，多干事，就此打住了，最后祝各位新年快乐，心想事成！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/674/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>最近这些天域名注册或转移优惠小记</title>
		<link>http://www.chibl.com/archives/666</link>
		<comments>http://www.chibl.com/archives/666#comments</comments>
		<pubDate>Sun, 18 Sep 2011 16:10:26 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[建站历程]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[Namecheap]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=666</guid>
		<description><![CDATA[首先是即将开始的极具吸引力的Namecheap.com的com/net/org域名注册或转移1.99美元的优惠，等不及Namecheap的朋友，可以考虑Domain.com的3.99美元域名注册优惠，最后是GoDaddy.com的域名另加Economy主机组合29.99美元的优惠！]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 0; text-align: center;"><img src="http://www.chibl.com/wp-content/uploads/2011/09/Gaobangshan_LuoRi.jpg" alt="" /></p>
<p><span id="more-666"></span></p>
<p>首先是极具吸引力的Namecheap.com的com/net/org域名注册或转移<span style="color: #ff0000;"><strong>1.99美元</strong></span>的优惠，但是让人小抓狂的是需要满足一个条件优惠活动才生效，具体为Namecheap官方在Fackbook设置的<a href="http://www.facebook.com/NameCheap?sk=app_141044522626772">优惠活动页</a>，需在2011年10月4日前，超过1万人Like，而截至今天9月18日，Like人数1679人。</p>
<p>等不及Namecheap的朋友，可以考虑Domain.com的<span style="color: #ff0000;"><strong>3.99美元</strong></span>域名注册优惠，对着急入手的朋友来说这个优惠还算给力的。</p>
<blockquote><p>优惠码：hh399dom<br />
说明：首年3.99美元注册.COM, .NET, .ORG, .INFO, .BIZ, or .US域名<br />
截止：2011-09-21 23:59</p></blockquote>
<p>最后是GoDaddy.com的域名另加Economy主机组合<span style="color: #ff0000;"><strong>29.99美元</strong></span>的优惠，但是Economy主机仅可建一站不说，GoDaddy爱抽风更是让人纠结！</p>
<blockquote><p>优惠链接：http://www.godaddy.com/domains/Get_A_Website_Exclusive.aspx?isc=QR2999<br />
说明：首年29.99美元注册域名.COM, .ME, .NET, .MOBI, .ORG, .INFO, .BIZ域名，另加Economy主机<br />
截至日期不详</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/666/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>国内至ICDSoft香港主机线路调整，可考虑更换服务器</title>
		<link>http://www.chibl.com/archives/664</link>
		<comments>http://www.chibl.com/archives/664#comments</comments>
		<pubDate>Wed, 07 Sep 2011 15:09:33 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[随便说说]]></category>
		<category><![CDATA[iAdvantage]]></category>
		<category><![CDATA[ICDSOFT]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=664</guid>
		<description><![CDATA[国内访问ICDSoft香港机房线路极之复杂，绕道美国、日本，甚至印度、新加波后，再到达目的地香港iAdvantage互联优势(ICDSoft香港主机所在机房)，可以考虑联系ICDSoft更换服务器。]]></description>
			<content:encoded><![CDATA[<p>最近一个多星期，国内访问ICDSoft香港机房线路极之复杂，绕道美国、日本，甚至印度、新加波后，再到达目的地香港iAdvantage互联优势(ICDSoft香港主机所在机房)。类似这种状况以前也曾出现过，我记忆中最长一次持续了四五天后才恢复正常，而这次一个多星期了还在那里绕！</p>
<p>下午为此状况跟ICDSoft技术支持沟通，刚开始他们回复说这个线路问题不是他们能力所能及的，建议我们向ISP(电信、联通等宽带服务提供商)反映情况。但我想这不是我们一两个人，或者几十号人反映一下就会有所改变的，于是ICDSoft技术支持提出如果ISP不愿意配合，我们可以路由跟踪(tracert)一下他们现有的服务器，如果找到线路更优速度更好的，他们可以将你的帐号转移过去。<br />
<span id="more-664"></span></p>
<p>以下是技术支持让我尝试Tracert的，这个线路跟以前一样，国内直达香港！</p>
<p class="x"><img src="http://www.chibl.com/wp-content/uploads/2011/09/ICDSoft_S178_TRACERT.gif" /></p>
<p>有需要更换的朋友可以登录ICDSoft技术支持网站SureSupport提交请求，如需了解SureSupport请移步至《<a href="http://www.chibl.com/archives/577">简述ICDSoft技术支持SureSupport</a>》，如果你是通过本站推荐链接购买或者经由哥们小店代购的朋友，有需要可以联系哥们儿协助你提交申请。</p>
<p>最后是一个提醒，更换了不绕道的，只是暂时的不绕，没准你一更换没多久，它便给你绕起来了，而原来绕道的却恢复正常了，哎，一切尽不在掌握中！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/664/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICDSoft香港空间之PHP探针</title>
		<link>http://www.chibl.com/archives/660</link>
		<comments>http://www.chibl.com/archives/660#comments</comments>
		<pubDate>Mon, 05 Sep 2011 14:15:50 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[ICDSoft香港空间]]></category>
		<category><![CDATA[ICDSOFT]]></category>
		<category><![CDATA[ICDSoft代购]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=660</guid>
		<description><![CDATA[偶尔会遇到找哥们儿代购ICDSoft香港空间的哥们儿问起“ICDSoft支持ShopEX吗？”“ICDSoft支持帝国吗？”“ICDSoft支持Magento、Joomla吗？”，等等……]]></description>
			<content:encoded><![CDATA[<p>偶尔会遇到找哥们儿代购ICDSoft香港空间的哥们儿问起“ICDSoft支持ShopEX吗？”“ICDSoft支持帝国吗？”“ICDSoft支持Magento、Joomla吗？”，等等……</p>
<p>哥们儿也只有那么一两个ICDSoft香港空间用于正常建站，不太可能把这些程序都安装调试个遍，因此建议大家购买前先到程序官网查阅支持该程序的运行环境，然后与ICDSoft的相比较，以下是PHP探针，这里仅提供截图，不公开地址，如有需要请系哥们儿给你发链接也是可以的。<br />
<span id="more-660"></span></p>
<p class="x"><img title="ICDSoft香港空间之PHP探针 点击开大图" src="http://www.chibl.com/wp-content/uploads/2011/09/ICDSoft_PHP_Tanzhen.png" alt="" onclick="window.open('http://www.chibl.com/wp-content/uploads/2011/09/ICDSoft_PHP_Tanzhen.png');" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/660/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>假如你的网站是一个国家</title>
		<link>http://www.chibl.com/archives/654</link>
		<comments>http://www.chibl.com/archives/654#comments</comments>
		<pubDate>Fri, 26 Aug 2011 15:59:17 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[随便说说]]></category>
		<category><![CDATA[Web Empires]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=654</guid>
		<description><![CDATA[网站帝国(Web Empires)旨在形象化互联网中的每一个网站，如前所述的网站好比一个国家。它基于Alexa数据估算国家人口，然后与现实中的国家进行对比。这个概念源自国外一个叫Sharenator的团队，Web Empires早于2010年9月上线，目前已有60多万个网站加入。]]></description>
			<content:encoded><![CDATA[<p>假如把网站比作一个国家，访问人数比作一个国家人口数，那么作为站长的你，噢！不对，应该是贵为国家元首的你，一定有兴趣了解贵国在世界上的地位吧？</p>
<p>网站帝国(Web Empires)旨在形象化互联网中的每一个网站，如前所述的网站好比一个国家。它基于Alexa数据估算国家人口，然后与现实中的国家进行对比，这个概念源自国外一个叫Sharenator的团队。Web Empires早于2010年9月上线，目前已有60多万个网站加入。你只需要键入网站域名，稍等片刻便可生成形象化的结果，下面以“站长之家”为例，领略一下这个可能聚集了最多“国王”的国家！</p>
<p class="center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/WebEmpires1.png" /></p>
<p><span id="more-654"></span></p>
<p>如果 Chinaz.com 是一个国家，它将拥有人口17,756,096，超越智利位于世界第60位，是一个崛起中的帝国！</p>
<p class="center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/WebEmpires2.png" /></p>
<p>如果 Chinaz.com 的所有国民决定出来会面，这将会是一个怎样的场景呢？首先你可以想象一个拥有10万个座位并且座无虚席的球场。</p>
<p class="center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/WebEmpires3.png" /></p>
<p>接下来要告诉你的是，需要有178个类似这样的球馆，才能容纳 Chinaz.com 的所有国民。</p>
<p class="center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/WebEmpires4.png" /></p>
<p>最后，Web Empires还为你列出了拜访贵国的游客来自何方。</p>
<p class="center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/WebEmpires5.png" /></p>
<p>看到这里，你是否迫不及待想要加入呢？<a href="http://www.sharenator.com/empires" title="Web Empires">点击这里开始你的网站帝国吧！</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/654/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>申请StartSSL还得过Google一关</title>
		<link>http://www.chibl.com/archives/651</link>
		<comments>http://www.chibl.com/archives/651#comments</comments>
		<pubDate>Thu, 25 Aug 2011 15:57:44 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[建站历程]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[StartSSL]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=651</guid>
		<description><![CDATA[在StartSSL进行域名验证时出现这样的提示：Domain "*****.com" appears on a blacklist.这可能是因为你的网站包含了“恶意程序”，被StartSSL拉入黑名单，这是StartSSL参考了Google Safe Browsing安全浏览诊断页的数据。]]></description>
			<content:encoded><![CDATA[<p>你是否在StartSSL进行域名验证时出现以下提示，导致无法进行下一步操作？</p>
<blockquote><p>Domain Blacklisted<br />
Domain “*****.com” appears on a blacklist.
</p></blockquote>
<p class="x center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/StartSSL_Domain_Blacklist.gif" /></p>
<p>这可能是因为你的网站包含了“恶意程序”，这是StartSSL参考了Google Safe Browsing安全浏览诊断页的数据。</p>
<p><span id="more-651"></span></p>
<p class="x center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/Google_Safe_Browsing.gif" /></p>
<p>你可以通过修改下列URL中的诊断网址(chibl.com)为你的网址，查看你的网站诊断结果。</p>
<blockquote><p>http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=chibl.com</p></blockquote>
<p>如果你的网站在诊断页“此网站是否托管了恶意软件？”中获得一个肯定的答案“是，此网站在过去 90 天里托管了恶意软件。”，那么StartSSL将把你的域名拉入黑名单，以下是咨询StartSSL客服后的回复：</p>
<blockquote><p>
Apparently the machine where you web site is hosted had some issues during the last 90 days. Unfortunately we can&#8217;t take the risks if such a listing appears in the Class 1 level which is mostly automated. We could however validate your domain manually in the Class 2 level if you wish to do so.</p>
<p>很明显，你的网站在过去90天里出现了一些问题，不幸的是，我们无法承担这种风险，让你申请 Class 1 自动验证，不过，我们可以为你进行 Class 2 人工验证，如果你愿意的话。
</p></blockquote>
<p>百度一下 “SSL Class1 Class2&#8243;，你就知道“SSL证书分为四类”</p>
<blockquote><p>Class1 (Domain Validation)：只验证域名所有权<br />
Class2 (Personal Validation)：验证域名所有权之外还验证个人真实身份<br />
Class3 (Organization Validation)：验证经营者身份，也就是企业验证<br />
EV (扩展验证)：除了经营者身份之外的其他一些企业资料验证</p></blockquote>
<p>也就是说，你可以通过提交个人身份证明的方式，通过StartSSL Class2的验证；如果你愿意，也可以清除“恶意程序”，向Google发出复审的请求，然后等候90天后重新申请吧！ </p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/651/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICDSoft VPS 业务简介</title>
		<link>http://www.chibl.com/archives/648</link>
		<comments>http://www.chibl.com/archives/648#comments</comments>
		<pubDate>Wed, 24 Aug 2011 15:15:43 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[ICDSoft香港空间]]></category>
		<category><![CDATA[ICDSOFT]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=648</guid>
		<description><![CDATA[别以为ICDSoft只有共享主机业务，其实他们针对高资源需求的网站提供了专项VPS业务“First Class”，其配备专用的硬件资源，以满足大访问量的动态网站，目前这款VPS服务器位于美国波士顿Savvis数据中心，基准价为299美元/月。]]></description>
			<content:encoded><![CDATA[<p>别以为ICDSoft只有共享主机业务，其实他们针对高资源需求的网站提供了专项VPS业务“First Class”，其配备专用的硬件资源，以满足大访问量的动态网站，以下是配置等相关信息。</p>
<p><span id="more-648"></span></p>
<p class="x center"><img src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft_VPS.gif" title="ICDSoft VPS 配置资料" /></p>
<p>目前这款VPS服务器位于美国波士顿Savvis数据中心，除此之外尚未在别的地区设立，这让冲着ICDSoft香港主机而来的朋友多少有些失望。另外比较意外的是它不菲的价格，基准价为299美元/月，在你购买的第一个月拥有15天退款保证。还要一个务必让你蛋疼的是：一个帐号只能建立一个独立网站(但愿是我理解错误，原文：Each hosting account is meant to host one domain name. )</p>
<p>想进一步了解ICDSoft VPS的朋友，联系哥们儿给你发链接。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/648/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICDSoft域名注册仅需5美元/年，并且长期有效</title>
		<link>http://www.chibl.com/archives/645</link>
		<comments>http://www.chibl.com/archives/645#comments</comments>
		<pubDate>Tue, 23 Aug 2011 15:59:03 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[ICDSoft香港空间]]></category>
		<category><![CDATA[ICDSOFT]]></category>
		<category><![CDATA[域名注册]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=645</guid>
		<description><![CDATA[ICDSoft提供.com .net .org .info .us .biz域名注册，价格为5美元/年，但注册只适用于申请了网页寄存服务的客户。也就是说，你只有申请了ICDSoft个人计划或者企业计划后方可注册。]]></description>
			<content:encoded><![CDATA[<p>ICDSoft提供.com .net .org .info .us .biz域名注册，价格为5美元/年，但注册只适用于申请了网页寄存服务的客户。也就是说，你只有申请了ICDSoft个人计划或者企业计划后方可注册。</p>
<p>在ICDSoft注册的域名是可以随时转出的，联系ICDSoft索取转移码即可。</p>
<p>原以为ICDSoft代理的是ENOM的域名，因为通过WHOIS返回的注册商是ENOM，但我在咨询ICDSoft技术支持，空间过期或者申请退款后如何管理域名，技术支持回复：The domain name is registered through TODAYNIC.COM. They should provide you with an interface to manage your domain name. / 域名是通过 TODAYNIC.COM(时代互联) 注册的，他们将为你提供管理域名的平台。</p>
<p><span id="more-645"></span></p>
<p>最后，如要在ICDSoft注册5美元的域名，只需登录ICDSoft控制面板的域名停泊，输入要注册的域名，并将“我需要登记这个域名”选上，点击“建立”按钮之后，你的域名将列于“已停泊域名”中，状态为“付款等候中”，此时选择一种支付方式，点击“购买”按钮开始付款即可。</p>
<p class="x"><img title="ICDSoft_Domain_Reg" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft_Domain_Reg.gif"  /></p>
<p>在其他域名注册商如GoDaddy没有特别优惠的情况下，5美元相对来说性价比还是比较高的，现在换算成人民币31元左右。</p>
<p class="x"><img title="ICDSoft_Domain_Pay" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft_Domain_Pay.gif"  /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/645/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>启用MOD_GZIP压缩网页，加速你的ICDSoft空间！</title>
		<link>http://www.chibl.com/archives/637</link>
		<comments>http://www.chibl.com/archives/637#comments</comments>
		<pubDate>Mon, 22 Aug 2011 03:06:43 +0000</pubDate>
		<dc:creator>miracle</dc:creator>
				<category><![CDATA[ICDSoft香港空间]]></category>
		<category><![CDATA[GZIP]]></category>
		<category><![CDATA[ICDSOFT]]></category>
		<category><![CDATA[MOD_GZIP]]></category>
		<category><![CDATA[zlib]]></category>
		<category><![CDATA[香港空间]]></category>

		<guid isPermaLink="false">http://www.chibl.com/?p=637</guid>
		<description><![CDATA[可以通过zlib(php.ini)或者mod_gzip(.htaccess)的方式，压缩你的ICDSoft香港空间的页面内容，页面压缩不但节约了流量使用，并且可以明显加快访问速度。]]></description>
			<content:encoded><![CDATA[<p>ICDSoft香港空间个人计划月流量20G，企业计划月流量500G，为了节约流量，可以通过以下两种方式压缩你的页面内容，页面压缩不但节约了流量使用，并且可以明显加快访问速度。</p>
<p>在采用下列方式压缩页面前，建议你先移步至站长之家网页GZIP压缩检测(http://tool.chinaz.com/Gzips)，检测你的网页是否已经进行了压缩，倘若没有，你将看到下图所示的检测结果。</p>
<p class="x" style="text-align: center;"><img title="ICDSoft-GZIP-1" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft-GZIP-1.gif" alt="" /></p>
<p><span id="more-637"></span></p>
<p><strong><span style="color: #ff0000;">方式一：mod_gzip，通过编辑.htaccess实现</span></strong></p>
<p>登陆ICDSoft Control Panel，依次进入“档案管理员” -&gt; 你的网站目录 -&gt; 点选“.htaccess”打开编辑窗口(如果.htaccess文件不存在，请手动创建一个，注意：此文件以点开头)，输入下列引用内容保存即可。</p>
<pre class="code"><code>&lt;Ifmodule mod_gzip.c&gt;

mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_keep_workfiles No
mod_gzip_can_negotiate Yes
mod_gzip_add_header_count Yes
mod_gzip_send_vary Yes
mod_gzip_command_version '/mod_gzip_status'
mod_gzip_min_http 1000
mod_gzip_minimum_file_size 300
mod_gzip_maximum_file_size 512000
mod_gzip_maximum_inmem_size 60000
mod_gzip_handle_methods GET POST
mod_gzip_temp_dir /tmp
mod_gzip_item_include file \.html$
mod_gzip_item_include file \.php$
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.rb$
mod_gzip_item_include file \.py$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include file \.css$
mod_gzip_item_include file \.js$
mod_gzip_item_include mime ^application/javascript$
mod_gzip_item_include mime ^application/x-javascript$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include handler ^server-status$
mod_gzip_item_include handler ^server-info$
mod_gzip_item_include handler ^application/x-httpd-php
mod_gzip_item_exclude mime ^image/.*

&lt;/IfModule&gt;
</code></pre>
<p>方式一是推荐的实现方式，方式二更多的是告诉你，如何找到“php.ini”文件，因为它很会隐藏自己！两种方式的区别，将在文章后段说明。</p>
<p><span style="color: #ff0000;"><strong>方式二：zlib，通过编辑php.ini实现</strong></span></p>
<p>登陆ICDSoft Control Panel，依次进入“档案管理员” -&gt; “返回上一级目录” -&gt; 点选“php.ini”打开编辑窗口 -&gt; 输入下列引用内容保存即可。</p>
<pre class="code"><code>zlib.output_compression = On
zlib.output_compression_level = 6
</code></pre>
<p class="x"><img title="ICDSoft-PHP.INI-1" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft-PHP.INI-1.gif" alt="" /></p>
<p class="x"><img title="ICDSoft-PHP.INI-1" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft-PHP.INI-2.gif" alt="" /></p>
<p class="x"><img title="ICDSoft-PHP.INI-1" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft-PHP.INI-3.gif" alt="" /></p>
<p>两种方式的区别在于，zlib仅压缩PHP文件，而mod_gzip对所有的HTML, PHP, Perl (.pl), Ruby on Rails (.rb), Python (.py), CGI, 层叠样式表 (.css), JavaScript (.js), 文本 (mime ^text/.*)都会进行压缩，但并不会对图像文件如GIF, JPG, PNG等进行压缩，因为他们本身就是一种图像的压缩版本，再次压缩会增加服务器的CPU资源损耗，甚至还有可能增加图像文件的大小。</p>
<p>最后，让我们来检查一下GZIP结果吧，高达70%的压缩率，惊人吧！</p>
<p class="x" style="text-align: center;"><img title="ICDSoft-GZIP-2" src="http://www.chibl.com/wp-content/uploads/2011/08/ICDSoft-GZIP-2.gif" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chibl.com/archives/637/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

