<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[网络旺旺]]></title> 
<link>http://blog.ich8.com/index.php</link> 
<description><![CDATA[混子日开始了...！失败的我！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[网络旺旺]]></copyright>
<item>
<link>http://blog.ich8.com/post/265/</link>
<title><![CDATA[[分析]昨日晚高峰时段DNSPOD免费用户的服务器被攻击]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Wed, 28 Jul 2010 08:51:06 +0000</pubDate> 
<guid>http://blog.ich8.com/post/265/</guid> 
<description>
<![CDATA[ 
	<p>不同时段的截图</p><p><img alt="" src="attachment.php?fid=492" /></p><p>&nbsp;</p><p><img alt="" src="attachment.php?fid=493" /></p><p>&nbsp;</p><p><img alt="" src="attachment.php?fid=494" /></p><p>&nbsp;</p><p>官方提供的防火墙信息列表</p><p><img alt="" src="attachment.php?fid=495" /></p><p>&nbsp;</p><p>分析 可以设置不同服务商的多组DNS，比如可以第一组设置DNSPOD的服务器，第二组则这是GODADDY的DNS服务器，当第一组被攻击无法正常解析时候，会自动转入第二组进行解析。本地缓存大约10分钟。过了这段时间如果不成功则会跳转到DODADDY去。但两边的解析参数必须一样。仅供参考。</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/260/</link>
<title><![CDATA[[整理]IIS 6 7 设置域名永久重定向 301跳转]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Thu, 15 Jul 2010 18:56:50 +0000</pubDate> 
<guid>http://blog.ich8.com/post/260/</guid> 
<description>
<![CDATA[ 
	IIS 6 设置方法 摘自网络<br/><br/>新建一个站点，绑定域名，勾选主目录的 资源永久重定向 和 上面准确的URL <br/>并且输入重定向到URL： <a href="http://www.domain.com$S$Q" target="_blank">http://www.domain.com$S$Q</a><br/>参数说明：<br/>$S 将请求的 URL 的后缀传递给新的 URL。后缀是用重定向的 URL 代替之后，初始 URL 中所保留的部分。 起源网资讯频道<br/>如果未设置 EXACT_DESTINATION 标志，则结果目标 URL 的名称将具有所请求文件的名称(作为文件夹名称)以及文件名本身。 <br/><br/>$Q 将初始 URL 中的参数(如 querystring 参数)传递至新的 URL，包括问号 (?)。<br/><br/><a href="http://blog.ich8.com/attachment.php?fid=485" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=485" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/><br/>IIS 7 / 7.5 设置方法<br/><br/>不知道一般站长是否会安装HTTP重定向功能，安装完就忽略过这一步，进行下一步，没有安装的朋友可以通过 服务器管理器 中的 角色服务 里面来选择安装。<br/>Windows 7下需要通过 打开或关闭WINDOWS功能 来安装<br/><br/><a href="http://blog.ich8.com/attachment.php?fid=487" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=487" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>2008下面需要通过桌面-计算机-管理 中的角色服务进行安装 图片来自网络<br/><br/><a href="http://blog.ich8.com/attachment.php?fid=486" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=486" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>安装完毕后打开IIS管理器，新建站点。然后在控制界面中点击 HTTP重定向<br/><br/><a href="http://blog.ich8.com/attachment.php?fid=488" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=488" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/><a href="http://blog.ich8.com/attachment.php?fid=489" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=489" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>选择你所需要的重定向方式，如为了保持搜索引擎收录可以选择301永久重定向<br/><br/><a href="http://blog.ich8.com/attachment.php?fid=490" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=490" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>点击应用即可。<br/><a href="http://blog.ich8.com/attachment.php?fid=491" class="highslide" onclick="return hs.expand(this)"><img src="http://blog.ich8.com/attachment.php?fid=491" class="insertimage" alt="Highslide JS" title="点击图片放大" border="0" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/257/</link>
<title><![CDATA[[分享]DNSPOD各组服务器对应IP]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Mon, 12 Jul 2010 18:59:21 +0000</pubDate> 
<guid>http://blog.ich8.com/post/257/</guid> 
<description>
<![CDATA[ 
	<p>收费区<br />NS1.MYDNSPOD.COM<br />121.12.116.58&nbsp;&nbsp; 广东省东莞市 电信 <br />121.14.220.190&nbsp; 广东省汕头市 电信<br />222.173.227.78&nbsp; 山东省淄博市 电信</p><p>NS2.MYDNSPOD.COM<br />202.104.237.53&nbsp; 广东省汕头市 电信<br />60.210.98.139&nbsp;&nbsp; 山东省淄博市 联通<br />222.173.227.82&nbsp; 山东省淄博市 电信</p><p><br />免费区<br />ns1.dnspood.net<br />210.51.56.246&nbsp;&nbsp; 上海市 漕河泾联通IDC机房<br />121.12.116.83&nbsp;&nbsp; 广东省东莞市 电信<br />222.216.28.18&nbsp;&nbsp; 广西南宁市 电信IDC机房</p><p>ns2.dnspood.net<br />61.136.59.6&nbsp;&nbsp;&nbsp;&nbsp; 天津市 联通 <br />222.186.26.115&nbsp; 江苏省镇江市 电信IDC机房<br />61.160.207.67&nbsp;&nbsp; 江苏省常州市 电信<br />&nbsp;</p><p><br />ns1.dnspod.net<br />121.12.116.83</p><p>ns2.dnspod.net<br />222.216.28.18</p><p>ns3.dnspod.net<br />210.51.56.246</p><p>ns4.dnspod.net<br />61.160.207.67</p><p>ns5.dnspod.net<br />61.136.59.6</p><p>ns6.dnspod.net<br />222.186.26.115</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/223/</link>
<title><![CDATA[[整理]IIS 7.X 配置FastCGI PHP出现500错误解决]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Sun, 30 May 2010 15:36:00 +0000</pubDate> 
<guid>http://blog.ich8.com/post/223/</guid> 
<description>
<![CDATA[ 
	<p>一般都是配置文件问题引起的，首先进入PHP文件所在目录。如在G:&#92;PHP 那么就在命令行中输入cd g:&nbsp; &nbsp;cd php 然后输入 php -v 进行配置文件检查 如果配置文件存在错误会给你提示，同时注意，需要给相关的权限。否则也可能存在此问题。</p><p>&nbsp;</p><p>无错提示：</p><p>PHP 5.2.10 (cli) (built: Jun 17 2009 16:16:57)<br />Copyright (c) 1997-2009 The PHP Group<br />Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies<br />&nbsp;&nbsp;&nbsp; with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccele<br />rator<br />&nbsp;&nbsp;&nbsp; with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/221/</link>
<title><![CDATA[[整理]eAccelerator 参数含义]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Thu, 27 May 2010 13:41:45 +0000</pubDate> 
<guid>http://blog.ich8.com/post/221/</guid> 
<description>
<![CDATA[ 
	<p>　　extension=&quot;/data/<span class="t_tag" href="tag.php?name=web">web</span>server/php/lib/php/extensions/no-debug-zts-20060613/<strong><font color="#ff0000">eaccelerator</font></strong>.so&quot;<br />　解释：PHP扩展<strong><font color="#ff0000">eaccelerator</font></strong>.so的路径。</p><p>　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.shm_size=&quot;32&quot;<br />解释：<strong><font color="#ff0000">eaccelerator</font></strong>可使用的共享内存大小(单位为MB)。<br />　　<br />　　在Linux下，单个进程的最大内存使用量受/proc/sys/kernel/shmmax中设置的数字<span class="t_tag" href="tag.php?name=%CF%DE%D6%C6">限制</span>(单位为字节)，例如CentOS 4.4的shmmax默认值为33554432字节(33554432bytes/1024/1024=32MB)。<br />　　临时更改该值：<br />　　# echo 字节数 &gt; /proc/sys/kernel/shmmax<br />　　按照以上方法更改，在每次重启<span class="t_tag" href="tag.php?name=%CF%B5%CD%B3">系统</span>时，该值会被自动还原。如果想永久更改，可以修改/etc/sysctl.conf文件，设置：<br />　　kernel.shmmax = 字节数<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.cache_dir=&quot;/data/cache/<strong><font color="#ff0000">eaccelerator</font></strong>&quot;<br />　　解释：缓存路径，可以使用<span class="t_tag" href="tag.php?name=%C3%FC%C1%EE">命令</span>mkdir -p /data/cache/<strong><font color="#ff0000">eaccelerator</font></strong>创建该目录，然后使用命令chmod 0777 /data/cache/<strong><font color="#ff0000">eaccelerator</font></strong>设置该目录权限为0777<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.enable=&quot;1&quot;<br />　　解释：打开或者关闭<strong><font color="#ff0000">eaccelerator</font></strong>。&quot;1&quot;指打开，&quot;0&quot;指关闭。默认值为&quot;1&quot;。<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.optimizer=&quot;1&quot;<br />　　解释：打开或者关闭代码优化，开启可以加快代码的执行速度。&quot;1&quot;指打开，&quot;0&quot;指关闭。默认值为&quot;1&quot;。</p><p>　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.check_mtime=&quot;1&quot;<br />　　解释：当打开此项时，<strong><font color="#ff0000">eaccelerator</font></strong>会在每次请求时检查php文件的修改时间，看其是否被修改过，这会耗费一点时间，如果php文件被修改过，<strong><font color="#ff0000">eaccelerator</font></strong>会重新<span class="t_tag" href="tag.php?name=%B1%E0%D2%EB">编译</span>缓存该php文件。当关闭此项时，如果php文件被修改，则需要手工删除<strong><font color="#ff0000">eaccelerator</font></strong>缓存，才能显示被修改的php文件。&quot;1&quot;指打开，&quot;0&quot;指关闭。默认值为&quot;1&quot;。<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.debug=&quot;0&quot;<br />　　解释：打开或者关闭调试记录。当打开时，<strong><font color="#ff0000">eaccelerator</font></strong>会将对一个缓存文件的每次请求都写进log。打开此项只对调试<strong><font color="#ff0000">eaccelerator</font></strong>是否有BUG时有益处。&quot;1&quot;指打开，&quot;0&quot;指关闭。默认值为&quot;0&quot;。<br />[root@web22 log]# tail -f /var/log/<strong><font color="#ff0000">eaccelerator</font></strong>_log<br />EACCELERATOR hit: &quot;/var/www/main/story/detail.php&quot;<br />EACCELERATOR hit: &quot;/var/www/main/includes/global_top.php&quot;<br />EACCELERATOR hit: &quot;/var/www/main/includes/config.inc.php&quot;<br />EACCELERATOR hit: &quot;/var/www/main/includes/function.inc.php&quot;<br />EACCELERATOR hit: &quot;/var/www/main/includes/msg.inc.php&quot;<br />EACCELERATOR hit: &quot;/var/www/main/includes/<span class="t_tag" href="tag.php?name=security">security</span>.inc.php&quot;<br />　以上提示表示上述php文件得到缓存和命中。。<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.filter=&quot;&quot;　　<br />　　解释：决定哪些PHP文件应该被缓存。可以指定一个范围(比如&quot;*.php *.phtml&quot;)，这样被指定的文件就会被缓存。如果该范围以!开头，被指定的文件就不会被缓存。默认值为&quot;&quot;，表示缓存所有的PHP文件。<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.shm_max=&quot;0&quot;<br />　　解释：一个用户使用例如<strong><font color="#ff0000">eaccelerator</font></strong>_put之类的函数能够往共享内存中加载的最大数据。默认值为&quot;0&quot;，表示不限制。(单位为字节)<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.shm_ttl=&quot;0&quot;<br />　　解释：当没有足够的空闲共享内存去尝试缓冲一个新脚本时，将删除至少在shm_ttl秒之前没有被访问过的文件。默认值为&quot;0&quot;，表示不尝试从共享内存中删除任何旧的脚本。(单位为秒)<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.shm_prune_period=&quot;0&quot;　<br />　　解释：当没有足够的空闲共享内存去尝试缓冲一个新脚本时，将删所有旧脚本，前提是这个尝试在超过shm_prune_period秒之前被执行过。默认值为&quot;0&quot;，表示不尝试从共享内存中删除任何旧的脚本。(单位为秒)</p><p>　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.shm_only=&quot;0&quot;　　<br />　　解释：打开或者关闭在磁盘上缓存编译过的脚本。这个参数对会话数据和内容缓存没有效果。默认值为&quot;0&quot;，表示使用磁盘和共享内存来缓存。<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.compress=&quot;1&quot;　<br />　　解释：打开或者关闭缓存内容压缩。&quot;1&quot;指打开，&quot;0&quot;指关闭。默认值为&quot;1&quot;。<br />　　<br />　　<strong><font color="#ff0000">eaccelerator</font></strong>.compress_level=&quot;9&quot;<br />　　解释：内存压缩的级别。默认值为&quot;9&quot;，表示最大压缩。</p><p>&nbsp;</p><p>附上我的eaccelerator配置</p><p>&nbsp;</p><p>[eaccelerator]<br />zend_extension_ts=&quot;x:&#92;Soft&#92;php&#92;ext&#92;eAccelerator0953_5.2.10.dll&quot;<br />eaccelerator.shm_size=&quot;64&quot;<br />eaccelerator.cache_dir=&quot;x:&#92;temp&quot; ;x盘从内存中划分，减少物理磁盘访问时间，加速缓存读取<br />eaccelerator.enable=&quot;1&quot;<br />eaccelerator.optimizer=&quot;1&quot;<br />eaccelerator.check_mtime=&quot;1&quot;<br />eaccelerator.debug=&quot;0&quot;<br />eaccelerator.filter=&quot;&quot;<br />eaccelerator.shm_max=&quot;0&quot;<br />eaccelerator.shm_ttl=&quot;0&quot; <br />eaccelerator.shm_prune_period=&quot;0&quot; <br />eaccelerator.shm_only=&quot;0&quot; <br />eaccelerator.compress=&quot;1&quot;<br />eaccelerator.compress_level=&quot;9&quot;</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/214/</link>
<title><![CDATA[[转载]技术分析：各大门户网站的CDN架构设计]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Fri, 21 May 2010 16:03:48 +0000</pubDate> 
<guid>http://blog.ich8.com/post/214/</guid> 
<description>
<![CDATA[ 
	<p><strong>1、 新浪</strong> <br /><br />　　新浪采用了ChinaCache做的CDN系统，ChinaCache在全国分布了四十多个点，同时采用基于动态DNS分配的全球服务器负载均衡技术。 <br /><br />　　从新浪的站点结构能看出： <br /><br />　　&gt; <a href="http://www.sina.com.cn" target="_blank">www.sina.com.cn</a> <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: libra.sina.com.cn <br /><br />　　Addresses: 61.135.152.71, 61.135.152.72, 61.135.152.73, 61.135.152.74 61.135.152.75, 61.135.152.76, 61.135.153.181, 61.135.153.182, 61.135.53.183, 61.135.153.184, 61.135.152.65, 61.135.152.66, 61.135.152.67, 61.135.12.68, 61.135.152.69, 61.135.152.70 <br /><br />　　Aliases: <a href="http://www.sina.com.cn" target="_blank">www.sina.com.cn</a>, jupiter.sina.com.cn <br /><br />　　在北京地区ChinaCache将<a href="http://www.sina.com.cn" target="_blank">www.sina.com.cn</a>的网址解析到libra.sina.com.cn，然后libra.sina.com.cn做了DNS负载均衡，将libra.sina.com.cn解析到61.135.152.71等16个ip上，这16个ip分布在北京的多台前台缓存服务器上，使用squid做前台缓存。如果是在其他地区访问<a href="http://www.sina.com.cn" target="_blank">www.sina.com.cn</a>可能解析到本地相应的服务器，例如pavo.sina.com.cn，然后pavo又对应了非常多做了squid的ip。这样就实现了在不同地区访问自动转到最近的服务器访问，达到加快访问速度的效果。 <br /><br />　　我们再看一个新浪其他频道是指到哪里的： <br /><br />　　&gt; news.sina.com.cn <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: libra.sina.com.cn <br /><br />　　Addresses: 61.135.152.65, 61.135.152.66, 61.135.152.67, 61.135.152.68 61.135.152.69, 61.135.152.70, 61.135.152.71, 61.135.152.72, 61.135.152.73 61.135.153.178, 61.135.153.179, 61.135.153.180, 61.135.153.181, 61.135.153.182 61.135.153.183, 61.135.153.184 <br /><br />　　Aliases: news.sina.com.cn, jupiter.sina.com.cn <br /><br />　　能看出，各个频道的前台缓存集群和<a href="http://www.sina.com.cn" target="_blank">www.sina.com.cn</a>的前台缓存集群是相同的。</p><p>　　<strong>2、搜狐</strong> <br /><br />　　Sohu和新浪的原理差不多，下面是nslookup的结果： <br /><br />　　&gt; <a href="http://www.sohu.com" target="_blank">www.sohu.com</a> <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: pagegrp1.sohu.com <br /><br />　　Addresses: 61.135.132.172, 61.135.132.173, 61.135.132.176, 61.135.133.109 61.135.145.47, 61.135.150.65, 61.135.150.67, 61.135.150.69, 61.135.150.74 61.135.150.75, 61.135.150.113, 61.135.150.145, 61.135.131.73, 61.135.131.91 61.135.131.180, 61.135.131.182, 61.135.131.183, 61.135.132.65, 61.135. <br /><br />　　132.80 <br /><br />　　Aliases: <a href="http://www.sohu.com" target="_blank">www.sohu.com</a> <br /><br />　　只不过libra.sina.com.cn换成了pagegrp1.sohu.com <br /><br />　　我们再来看一下sohu的频道： <br /><br />　　&gt; news.sohu.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: pagegrp1.sohu.com <br /><br />　　Addresses: 61.135.145.47, 61.135.150.65, 61.135.150.67, 61.135.150.69 61.135.150.74, 61.135.150.75, 61.135.150.113, 61.135.150.145, 61.135.131.73 61.135.131.91, 61.135.131.180, 61.135.131.182, 61.135.131.183, 61.135.132.65 61.135.132.80, 61.135.132.172, 61.135.132.173, 61.135.132.176, 61.135.133.109 <br /><br />　　Aliases: news.sohu.com <br /><br />　　同新浪相同，用的是同样的服务器群，这可能是因为他们用的都是ChinaCache的服务吧，不过sohu的名字起的有点土，pagegrp1，没有libra，pavo好听，这名字听起来有点像法语，比较浪漫。</p><p>　<strong>3、网易</strong> <br /><br />　　网易似乎没用ChinaCache的服务，下面是nslookup结果： <br /><br />　　&gt; <a href="http://www.163.com" target="_blank">www.163.com</a> <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: <a href="http://www.163.com" target="_blank">www.163.com</a> <br /><br />　　Addresses: 202.106.168.103, 202.106.168.104, 202.106.168.109, 202.106.168.121 202.108.36.153, 202.108.36.155, 202.108.36.156, 202.108.36.167, 202.108.36.172 202.108.36.196 <br /><br />　　直接在<a href="http://www.163.com" target="_blank">www.163.com</a> 这个域名上做了DNS负载均衡。这样的话就要求服务器必须放的非常靠近主节点，才能保证各地的用户访问的速度。 <br /><br />　　但163不同的频道是放在不同的缓存集群上的，这与sina，sohu有些不同，等于sina，sohu是按照地区划分服务器集群，而网易按照频道划分服务器集群。 <br /><br />　　&gt; 163.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: 163.com <br /><br />　　Addresses: 202.108.36.205, 202.108.36.206, 202.108.36.207, 202.108.36.201 202.108.36.202, 202.108.36.203, 202.108.36.204 <br /><br />　　显然，这和<a href="http://www.163.com" target="_blank">www.163.com</a>不是一个集群，我们再来试一个： <br /><br />　　&gt; sports.163.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: channel.cache.163.com <br /><br />　　Addresses: 202.108.36.136, 202.108.36.208, 202.108.36.209, 202.108.36.210 202.108.36.211, 202.108.36.212, 202.108.36.213 <br /><br />　　Aliases: sports.163.com <br /><br />　　可以看出，和上面的集群也是不同的。 <br /><strong>4、百度</strong> <br /><br />　　百度的前台服务器就不是很多了： <br /><br />　　&gt; <a href="http://www.baidu.com" target="_blank">www.baidu.com</a> <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: <a href="http://www.baidu.com" target="_blank">www.baidu.com</a> <br /><br />　　Addresses: 202.108.250.249, 202.108.249.134 <br /><br />　　&gt; baidu.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: baidu.com <br /><br />　　Address: 202.108.250.228 <br /><br />　　&gt; mp3.baidu.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: mp3.baidu.com <br /><br />　　Address: 202.108.249.131 <br /><br />　　只有<a href="http://www.baidu.com" target="_blank">www.baidu.com</a>做了两台服务器的集群，频道都用了一台服务器做前台 <br /><strong>5、一搜</strong> <br /><br />　　&gt; yisou.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: yisou.com <br /><br />　　Addresses: 202.165.102.114, 202.43.217.14, 202.43.217.15, 202.43.217.16 202.43.217.17, 202.165.102.111, 202.165.102.112, 202.165.102.113 <br /><br />　　&gt; <a href="http://www.yisou.com" target="_blank">www.yisou.com</a> <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: <a href="http://www.yisou.com" target="_blank">www.yisou.com</a> <br /><br />　　Addresses: 202.43.217.17, 202.165.102.111, 202.165.102.112, 202.165.102.113 202.165.102.114, 202.43.217.14, 202.43.217.15, 202.43.217.16 <br /><br />　　&gt; mp3.yisou.com <br /><br />　　Server: UnKnown <br /><br />　　Address: 192.168.1.254 <br /><br />　　Non-authoritative answer: <br /><br />　　Name: <a href="http://www.yisou.com" target="_blank">www.yisou.com</a> <br /><br />　　Addresses: 202.165.102.113, 202.165.102.114, 202.43.217.14, 202.43.217.15 202.43.217.16, 202.43.217.17, 202.165.102.111, 22.165.102.112 <br /><br />　　Aliases: mp3.yisou.com <br /><br />　　前台做了8台服务器的缓存集群，<a href="http://www.yisou.com" target="_blank">www.yisou.com</a>和 yisou.com以及mp3.yisou.com是用的同一个集群。 <br /><br />　　通过前面的分析我们可以得到一个结论：sina和sohu使用了CDN与GSBL与DNS负载均衡技术，每个地区一组前台服务器群，网易，百度使用了DNS负载均衡技术，每个频道一组前台服务器，一搜使用了DNS负载技术，所有频道共用一组前台服务器集群。</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/141/</link>
<title><![CDATA[[转载]利用内容过期功能优化IIS性能]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Tue, 02 Feb 2010 07:54:50 +0000</pubDate> 
<guid>http://blog.ich8.com/post/141/</guid> 
<description>
<![CDATA[ 
	<p>这个功能的做用是让浏览器自己决定是使用缓存区的内容还是从网上下载内容，一般来说网站上的图片、CSS、JS这些都是不太可能变化的页面，都可以设置一个比较长的内容过期时间这样用户访问的时候就不再从网站上更新，而是直接读本地的缓存速度当然会变的非常快。利用IIS可以方便的设置内容过期的时间和那些内容使用内容过期功能，从而增强网站的情况，下边说说我是怎么做的。</p><p>&nbsp;</p><p>第一步打开IIS-&gt;你的站点前边的+号-&gt;选择你要设置的目录，点右键，点属性。</p><p><a href="http://www.joay.com/wp-content/uploads/2009/07/Snap17.jpg"><img title="Snap17" border="0" alt="Snap17" src="http://www.joay.com/wp-content/uploads/2009/07/Snap17_thumb.jpg" width="161" height="262" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /></a> <a href="http://www.joay.com/wp-content/uploads/2009/07/Snap18.jpg"><img title="Snap18" border="0" alt="Snap18" src="http://www.joay.com/wp-content/uploads/2009/07/Snap18_thumb.jpg" width="179" height="92" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /></a></p><p></p><p>在属性面版点&ldquo;http头&rdquo;-&gt;启用内容过期-&gt;些时间段后过期，然后输入一个时间，我输入30天。</p><p>最后点确定就OK了。</p><p><a href="http://www.joay.com/wp-content/uploads/2009/07/Snap19.jpg"><img title="Snap19" border="0" alt="Snap19" src="http://www.joay.com/wp-content/uploads/2009/07/Snap19_thumb.jpg" width="318" height="304" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /></a></p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/102/</link>
<title><![CDATA[Bo-Blog 2.1.1 的 Nginx Rewrite 规则[转] ]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Sat, 05 Dec 2009 12:33:04 +0000</pubDate> 
<guid>http://blog.ich8.com/post/102/</guid> 
<description>
<![CDATA[ 
	<p>　　<a target="_blank" href="http://www.bo-blog.com/"><font color="#4f6371">Bo-Blog</font></a>是一款采用PHP开发的单用户博客程序，本人的博客也采用的是Bo-Blog，个人觉得bo-blog的排版、易用性要比WordPress好得多，但扩展性不如WordPress。<br /><br />　　很多朋友向我询问过，Bo-Blog的Nginx Rewrite规则如何写。由于Bo-Blog官网只提供了Apache的Rewrite规则，这里，我将自己从 Bo-Blog 的 Apache Rewrite 规则转换而来的 Bo-Blog 2.1.1 的 Nginx Rewrite 重写规则贴在此处，供需要的朋友使用：<br />&nbsp;</p><blockquote><p>if (!-e $request_filename)<br />&#123;<br />rewrite ^/post/([0-9]+)/?([0-9]+)?/?([0-9]+)?/?$ /read.php?entryid=$1&amp;page=$2&amp;part=$3 last;<br />rewrite ^/page/([0-9]+)/([0-9]+)/?$ /index.php?mode=$1&amp;page=$2 last;<br />rewrite ^/starred/([0-9]+)/?([0-9]+)?/?$ /star.php?mode=$1&amp;page=$2 last;<br />rewrite ^/category/([^/]+)/?([0-9]+)?/?([0-9]+)?/?$ /index.php?go=category_$1&amp;mode=$2&amp;page=$3 last;<br />rewrite ^/archiver/([0-9]+)/([0-9]+)/?([0-9]+)?/?([0-9]+)?/?$ /index.php?go=archive&amp;cm=$1&amp;cy=$2&amp;mode=$3&amp;page=$4 last;<br />rewrite ^/date/([0-9]+)/([0-9]+)/([0-9]+)/?([0-9]+)?/?([0-9]+)?/?$ /index.php?go=showday_$1-$2-$3&amp;mode=$4&amp;page=$5 last;<br />rewrite ^/user/([0-9]+)/?$ /view.php?go=user_$1 last;<br />rewrite ^/tags/([^/]+)/?([0-9]+)?/?([0-9]+)?/?$ /tag.php?tag=$1&amp;mode=$2&amp;page=$3 last;<br />rewrite ^/component/id/([0-9]+)/?$ /page.php?pageid=$1 last;<br />rewrite ^/component/([^/]+)/?$ /page.php?pagealias=$1 last;<br /><br />#Force redirection for old rules<br />rewrite ^/read&#92;.php/([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/post/$1/"><font color="#4f6371"><a href="http://$host/post/$1/" target="_blank">http://$host/post/$1/</a></font></a> permanent;<br />rewrite ^/post/([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/post/$1/"><font color="#4f6371"><a href="http://$host/post/$1/" target="_blank">http://$host/post/$1/</a></font></a> permanent;<br />rewrite ^/post/([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/post/$1/$2/"><font color="#4f6371"><a href="http://$host/post/$1/$2/" target="_blank">http://$host/post/$1/$2/</a></font></a> permanent;<br />rewrite ^/post/([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/post/$1/$2/$3/"><font color="#4f6371"><a href="http://$host/post/$1/$2/$3/" target="_blank">http://$host/post/$1/$2/$3/</a></font></a> permanent;<br />rewrite ^/index&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/page/$1/$2/"><font color="#4f6371"><a href="http://$host/page/$1/$2/" target="_blank">http://$host/page/$1/$2/</a></font></a> permanent;<br />rewrite ^/star&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/starred/$1/$2/"><font color="#4f6371"><a href="http://$host/starred/$1/$2/" target="_blank">http://$host/starred/$1/$2/</a></font></a> permanent;<br />rewrite ^/category&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/category/$1/"><font color="#4f6371"><a href="http://$host/category/$1/" target="_blank">http://$host/category/$1/</a></font></a> permanent;<br />rewrite ^/category&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/category/$1/$2/$3/"><font color="#4f6371"><a href="http://$host/category/$1/$2/$3/" target="_blank">http://$host/category/$1/$2/$3/</a></font></a> permanent;<br />rewrite ^/archive&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/archiver/$1/$2/"><font color="#4f6371"><a href="http://$host/archiver/$1/$2/" target="_blank">http://$host/archiver/$1/$2/</a></font></a> permanent;<br />rewrite ^/archive&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/archiver/$1/$2/$3/$4/"><font color="#4f6371"><a href="http://$host/archiver/$1/$2/$3/$4/" target="_blank">http://$host/archiver/$1/$2/$3/$4/</a></font></a> permanent;<br />rewrite ^/showday&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/date/$1/$2/$3/"><font color="#4f6371"><a href="http://$host/date/$1/$2/$3/" target="_blank">http://$host/date/$1/$2/$3/</a></font></a> permanent;<br />rewrite ^/showday&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;_([0-9]+)&#92;.htm$ <a target="_blank" href="http://$host/date/$1/$2/$3/$4/$5/"><font color="#4f6371"><a href="http://$host/date/$1/$2/$3/$4/$5/" target="_blank">http://$host/date/$1/$2/$3/$4/$5/</a></font></a> permanent;<br /><br />#Filename alias<br />rewrite ^/([a-zA-Z0-9_-]+)/?([0-9]+)?/?([0-9]+)?/?$ /read.php?blogalias=$1&amp;page=$2&amp;part=$3 last;<br />&#125;</p></blockquote><p>[文章作者：张宴 本文版本：v1.1 最后修改：2009.12.01 转载请注明原文链接：<a href="http://blog.s135.com/bo-blog_nginx_rewrite/" target="_blank"><font color="#4f6371"><a href="http://blog.s135.com/bo-blog_nginx_rewrite/" target="_blank">http://blog.s135.com/bo-blog_nginx_rewrite/</a></font></a>]<br />&nbsp;</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/97/</link>
<title><![CDATA[Server 2003 装ESET NOD32的注意]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Fri, 27 Nov 2009 10:44:17 +0000</pubDate> 
<guid>http://blog.ich8.com/post/97/</guid> 
<description>
<![CDATA[ 
	<p>可能导致在高并发的时候占用大量CPU,导致整体服务器性能下降。解决方法 关闭。</p>
]]>
</description>
</item><item>
<link>http://blog.ich8.com/post/96/</link>
<title><![CDATA[Windows 2003服务器IIS优化：启用Gzip 压缩]]></title> 
<author>网络旺旺 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Thu, 26 Nov 2009 11:12:34 +0000</pubDate> 
<guid>http://blog.ich8.com/post/96/</guid> 
<description>
<![CDATA[ 
	<p>启用Gzip压缩是在Web服务器和浏览器间传输压缩文本内容的方法。Gzip压缩采用通用的压缩算法压缩HTML、JavaScript、CSS等静态文件和asp、aspx、php、jsp等动态文件。压缩的最大好处就是降低了网络传输的数据量，从而提高客户端浏览器的访问速度。当然，同时也会增加一点点服务器的负担。通过Windows2003系统设置的方式启用Gzip的突出优点就是效率较高，所以我们直接设置IIS让其支持Gzip压缩。</p><p>启用Gzip 压缩步骤</p><p>单击&ldquo;开始&rdquo;&mdash;&ldquo;管理工具&rdquo;&mdash;&ldquo;Internet 信息服务(IIS)管理器&rdquo;，打开IIS管理器；</p><p>在IIS管理器中双击本地计算机，右侧显示计算机中IIS列表，在&ldquo;网站&rdquo;上右键选择属性；</p><p>打开网站属性界面；</p><p>单击&ldquo;服务&rdquo;标签，选中&ldquo;压缩应用程序文件&rdquo;和&ldquo;压缩静态文件&rdquo;，同时根据情况设置临时目录的最大容量，初期可以限制为1G左右；</p><p>返回Internet信息服务(IIS)管理器，右击&ldquo;Web服务扩展&rdquo;，弹出Web服务扩展菜单；<br />选择&ldquo;增加一个新的Web服务扩展(A)&rdquo;；</p><p>在&ldquo;新建Web服务扩展&rdquo;框中输入扩展名&ldquo;HTTPComPRession&rdquo;，添加&ldquo;要求的文件&rdquo;为C:&#92;WINDOWS&#92;system32&#92;inetsrv&#92;gzip.dll，其中 Windows系统目录根据您的安装可能有所不同，选中&ldquo;设置扩展状态为允许&rdquo;；</p><p>使用文本编辑器打开C:&#92;Windows&#92;System32&#92;inetsrv&#92;MetaBase.xml(建议先备份)，在该文件中搜索HcScriptFileExtensions，设置进行压缩的文件后缀名，系统默认的是asp、dll和exe，根据格式增加aspx、php、jsp等，再搜索HcFileExtensions，增加shtm、shtml、js、css、swf、mid、xml、mp3等静态文件格式；</p><p>在运行中输入&ldquo;net stop iisadmin /y&rdquo;停止IIS服务，运行完成后保存Metabase.xml；</p><p>在运行中输入&ldquo;iisreset&rdquo;重启IIS服务；</p><p>至此，</p><p>Windows2003服务器IIS优化：启用Gzip 压缩完成</p>
]]>
</description>
</item>
</channel>
</rss>