<?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://zhiqiang.org/blog/tag/%e5%9f%9f%e5%90%8d/feed" rel="self" type="application/rss+xml" />
	<link>http://zhiqiang.org/blog</link>
	<description>zhiqiang&#039;s personal blog</description>
	<lastBuildDate>Tue, 22 Jun 2010 13:08:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>昂首跨步走进白名单时代</title>
		<link>http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html</link>
		<comments>http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html#comments</comments>
		<pubDate>Sun, 20 Dec 2009 07:53:32 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[杂文]]></category>
		<category><![CDATA[信息审查]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html</guid>
		<description><![CDATA[不知道有多少人注意到最近一条新闻
中国将采取五项措施规范域名注册 from 新华社
…
对网站未备案的域名不予解析（含跳转）

自此，我们将进入伟大的白名单时代，争取把自己的域名加入到这个白名单吧。
参考阅读：寂静之城，一九八四
相关文章重新启用域名zhiqiang.org 收到Yahoo的来信，yueweitang.org域名将于1个月内过期，只好重新启用域名 zhiqiang.org

之前停用 zhiqiang.org ...]]></description>
			<content:encoded><![CDATA[<p>不知道有多少人注意到最近一条新闻</p>
<blockquote><p><a href="http://news.xinhuanet.com/fortune/2009-12/17/content_12663192.htm">中国将采取五项措施规范域名注册</a> from 新华社</p>
<p>…</p>
<p><strong>对网站未备案的域名不予解析（含跳转）</strong></p>
</blockquote>
<p>自此，我们将进入伟大的白名单时代，争取把自己的域名加入到这个白名单吧。</p>
<p>参考阅读：<a href="http://www.douban.com/group/topic/5221588/" target="_blank">寂静之城</a>，<a href="http://www.douban.com/subject/1082387/" target="_blank">一九八四</a></p>
<div><h2>相关文章</h2><ul><li><a href="http://zhiqiang.org/blog/memopad/use-zhiqiang-org-again.html">重新启用域名zhiqiang.org</a> <small>收到Yahoo的来信，yueweitang.org域名将于1个月内过期，只好重新启用域名 zhiqiang.org

之前停用 zhiqiang.org 是因为备案接入商错误（而且还改不了，因为我...</small></li><li><a href="http://zhiqiang.org/blog/scribble/guge-is-not-google-china.html">&ldquo;谷歌&rdquo;在中国：他不是Google</a> <small>最近关于Google的事情大家应该都知道了吧，让我们重温一下CLIVE THOMPSON在Google刚进入中国时对“信息审查” 的深度报道。此文于2006年4月份发表于纽约...</small></li><li><a href="http://zhiqiang.org/blog/scribble/news-about-google-out-china.html">关于Google退出中国的报道</a> <small>谣传真理部要求各媒体不得在头条报道Google退出中国的事情，现在看来似乎是真的。要想关注此事件，可浏览下面专题报道  华尔街日报（中文版）专...</small></li><li><a href="http://zhiqiang.org/blog/scribble/comics-google.html">长城上的Google</a> <small>&#160;   出处：...</small></li><li><a href="http://zhiqiang.org/blog/it/who-is-the-next-target.html">下一个目标是谁?</a> <small>新一轮的网络封禁似乎是从胡主席访问美国和微软开始的。在那一天，中国各地论坛充斥着无法访问MSN Spaces的报告。当初有人称可能是Spaces向Live调整...</small></li><li><a href="http://zhiqiang.org/blog/resource/free-door-phproxy.html">phproxy &amp; free door (附下载)</a> <small>今天更新了网站的phproxy，从0.4升级到了0.5。借此机会，提一下我在某些时候，怎么察看国外的敏感内容的。
Anonymous Web Proxy Server
就是类似于下面这些...</small></li><li><a href="http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html">同一WordPress的blog可拥有多个域名</a> <small>注：与生成静态化文件的插件冲突。 发个技术贴。相同数据库的blog，但可以用不同域名访问。 效果展示：  http://zhiqiang.org/blog/  https://zhiqiang.org/blog/ (h...</small></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2009. | <a href="http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html#comments">10 &#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>重新启用域名zhiqiang.org</title>
		<link>http://zhiqiang.org/blog/memopad/use-zhiqiang-org-again.html</link>
		<comments>http://zhiqiang.org/blog/memopad/use-zhiqiang-org-again.html#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:03:25 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[记事本]]></category>
		<category><![CDATA[主机]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/?p=966</guid>
		<description><![CDATA[收到Yahoo的来信，yueweitang.org域名将于1个月内过期，只好重新启用域名 zhiqiang.org
之前停用 zhiqiang.org 是因为备案接入商错误（而且还改不了，因为我不知道是哪位给我备的案），现在要想用启用这个域名，唯一办法就是把blog搬到不需要备案的地方。
所以blog主机从CPH换到了GegeHost。
现在唯一不爽的一点就是某些大学将无法直接访问此blog。
相关文章昂首跨步走进白名单时代 不...]]></description>
			<content:encoded><![CDATA[<p>收到Yahoo的来信，yueweitang.org域名将于1个月内过期，只好重新启用域名 zhiqiang.org</p>
<p>之前停用 zhiqiang.org 是因为备案接入商错误（而且还改不了，因为我不知道是哪位给我备的案），现在要想用启用这个域名，唯一办法就是把blog搬到不需要备案的地方。</p>
<p>所以blog主机从CPH换到了<a style="color: #145ca6; cursor: pointer; text-decoration: none; padding: 0px; margin: 0px;" href="http://www.gegehost.com/">GegeHost</a>。</p>
<p>现在唯一不爽的一点就是某些大学将无法直接访问此blog。</p>
<div><h2>相关文章</h2><ul><li><a href="http://zhiqiang.org/blog/scribble/whitelist-era-is-coming.html">昂首跨步走进白名单时代</a> <small>不知道有多少人注意到最近一条新闻     中国将采取五项措施规范域名注册 from 新华社    …    对网站未备案的域名不予解析（含跳转）   自此，我们将...</small></li><li><a href="http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html">同一WordPress的blog可拥有多个域名</a> <small>注：与生成静态化文件的插件冲突。 发个技术贴。相同数据库的blog，但可以用不同域名访问。 效果展示：  http://zhiqiang.org/blog/  https://zhiqiang.org/blog/ (h...</small></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2009. | <a href="http://zhiqiang.org/blog/memopad/use-zhiqiang-org-again.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/memopad/use-zhiqiang-org-again.html#comments">6 &#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/memopad/use-zhiqiang-org-again.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>同一WordPress的blog可拥有多个域名</title>
		<link>http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html</link>
		<comments>http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html#comments</comments>
		<pubDate>Tue, 19 Aug 2008 03:14:31 +0000</pubDate>
		<dc:creator>zhiqiang</dc:creator>
				<category><![CDATA[IT技术]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://zhiqiang.org/blog/posts/wordpress-blog-has-different-domains.html</guid>
		<description><![CDATA[注：与生成静态化文件的插件冲突。
发个技术贴。相同数据库的blog，但可以用不同域名访问。
效果展示：

http://zhiqiang.org/blog/  
https://zhiqiang.org/blog/ (https连接需要你接受此域名的"假"证书，实现方法)  
http://yueweitang.org/

大家知道WordPress的后台需要填写blog的主页地址，而且它也会尽量避免重复页面，所以多域名也是官方所尽量避免的。但某些时候，多个域名看起来比较爽，比...]]></description>
			<content:encoded><![CDATA[<p>注：与生成静态化文件的插件冲突。</p>
<p>发个技术贴。相同数据库的blog，但可以用不同域名访问。</p>
<p>效果展示：</p>
<ul>
<li><a href="http://zhiqiang.org/blog/">http://zhiqiang.org/blog/</a>  </li>
<li><a href="https://zhiqiang.org/blog/">https://zhiqiang.org/blog/</a> (https连接需要你接受此域名的"假"证书，<a href="http://zhiqiang.org/blog/posts/wordpress-blog-support-ssl-https.html" target="_blank">实现方法</a>)  </li>
<li><a href="http://yueweitang.org/">http://yueweitang.org/</a></li>
</ul>
<p>大家知道WordPress的后台需要填写blog的主页地址，而且它也会尽量避免重复页面，所以多域名也是官方所尽量避免的。但某些时候，多个域名看起来比较爽，比如域名闲着也是闲着，yueweitang.org是不是好记点？这时候下面的方法就有用了。</p>
<p>原理是WordPress支持宏定义，可以覆盖后台数据库的option选项。与我们相关的两个option选项是 site_url 和 wp_home。要想覆盖数据库里的选项，定义大写的同名的宏即可。</p>
<p>我所用的代码：</p>
<blockquote><pre><span style="color: #0000ff">&lt;?</span>php
if (isset($_SERVER['<span style="color: #8b0000">HTTPS</span>'])):
 define("<span style="color: #8b0000">WP_SITEURL</span>", "<span style="color: #8b0000">https://zhiqiang.org/blog</span>");
 define("<span style="color: #8b0000">WP_HOME</span>", "<span style="color: #8b0000">https://zhiqiang.org/blog</span>");
elseif ($_SERVER['<span style="color: #8b0000">HTTP_HOST</span>']=='<span style="color: #8b0000">yueweitang.org</span>'):
 define("<span style="color: #8b0000">WP_SITEURL</span>", "<span style="color: #8b0000">http://yueweitang.org</span>");
 define("<span style="color: #8b0000">WP_HOME</span>", "<span style="color: #8b0000">http://yueweitang.org</span>");
endif;
<span style="color: #0000ff">?&gt;</span></pre>
</blockquote>
<p>当然第一步工作是把所有域名都指到同一个目录，这个不同服务器方法不一样，就不多说了。</p>
<div><h2>相关文章</h2><ul><li><a href="http://zhiqiang.org/blog/it/my-experiences-and-views-blog.html">我的Blog经历和一些看法</a> <small>我是从去年3月开始接触Blog的，最开始注册在MSN Spaces上面，中途见异思迁了一次，搬到sina blog上去了，不过后来还是搬回去了。到今年4月，觉得MSN Space...</small></li><li><a href="http://zhiqiang.org/blog/memopad/blog-is-back-20080915.html">blog回归和杂记20080915</a> <small>由于某些不可言传的原因，阅微堂关闭了一个半星期．现在阅微堂又回来了．但请不要讨论和询问关闭原因和相关内容．  当然问题拖这么久，一个原...</small></li><li><a href="http://zhiqiang.org/blog/it/wordpress-the-revised-calendar-own-style.html">修改wordpress的自带日历式样</a> <small>wordpress自带了一个日历函数get_calendar()，可以显示每天各发了哪些文章（把鼠标移到日期上即可看到），是个很实用的函数。可是它原来的式样太丑了...</small></li><li><a href="http://zhiqiang.org/blog/it/blog-fast-download-speeds-to-be-faster-and-the-speed-of-blog.html">blog下载速度多快才算快和blog速度优化</a> <small>很多人有一个大致的感觉，某blog很慢，或者有点慢，但是似乎还过得去，而没有一个量化的指标。其实对于FireFox浏览器，使fastfox插件，可以在右下方...</small></li><li><a href="http://zhiqiang.org/blog/it/let-windows-live-writer-support-tag-of-wordpress-23.html">Windows Live Writer支持WordPress 2.3的tag的方法（不用插件）</a> <small>下载这个文件，解压后上传到blog的根目录，之后WLW编辑区域下面的高级选项里多出了一个keywords选项，里面就对应着WP2.3的Tag!  不是我写的...</small></li><li><a href="http://zhiqiang.org/blog/it/wordpress-create-the-most-efficient-of-all-stations-browsing.html">打造最快捷的wordpress的全站浏览方式</a> <small>我们有很多种方式浏览全站文章，主页面往前翻页，通过察看分类和按日期存档察看，或者通过搜索查找自己敢兴趣的东西。这些方法的缺陷就是太慢...</small></li><li><a href="http://zhiqiang.org/blog/it/the-whole-point-of-static-wordpress.html">WordPress全站静态化</a> <small>继上次把主页静态化后，现在本站所有文章都已经是静态的html页面，跟MT系统差不多，当有新文章或者新留言，相关的html文件在后台自动更新。比如这...</small></li><li><a href="http://zhiqiang.org/blog/it/google-gears-in-wordpress-26.html">WordPress 2.6中的Google Gears</a> <small>似乎大家对于Google Gears关注得很少。我认为Google Gears结合浏览器，就是另类的桌面软件，在不断丰富Google的桌面产品线。现在的Google docs已经可以在离...</small></li><li><a href="http://zhiqiang.org/blog/it/wordspew-plug-litter-message-solution.html">wordspew插件的垃圾留言的解决办法</a> <small>wordspew插件可以给Blog添加一个实时的ajax聊天窗口，也可以用来当作一个简单留言板，具体效果可见本blog左侧栏的在线聊天模块。本来一直用得挺好的...</small></li><li><a href="http://zhiqiang.org/blog/it/reading-church-wordpress-plug-in-system-architecture-use.html">阅微堂系统架构 &#038; WordPress插件使用情况</a> <small>本系统使用了以下插件：

	Ajax Comments-Reply: 可以在迴響之後跟隨回覆，使用Ajax無刷新。经过一些修改后，实现本系统的MSN Spaces风格的页面ajax显示和...</small></li></ul></div>    <p></p>
    <hr noshade style="margin:0;height:1px" />
    <p>&copy; zhiqiang for <a href="http://zhiqiang.org/blog">阅微堂</a>, 2008. | <a href="http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html">&#38142;&#25509;</a> | <a href="http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html#comments">10 &#26465;&#35780;&#35770;</a></p>]]></content:encoded>
			<wfw:commentRss>http://zhiqiang.org/blog/it/wordpress-blog-has-different-domains.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
