<?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.lutuzhi.com/category/opensource/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lutuzhi.com</link>
	<description>一路走来，路途志</description>
	<lastBuildDate>Mon, 08 Aug 2011 16:04:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>wordpress 换域名后无法访问</title>
		<link>http://www.lutuzhi.com/howto/557.html</link>
		<comments>http://www.lutuzhi.com/howto/557.html#comments</comments>
		<pubDate>Wed, 20 Apr 2011 09:41:59 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[经验记录]]></category>
		<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[wordpress换域名]]></category>
		<category><![CDATA[无法访问]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/howto/557.html</guid>
		<description><![CDATA[wordpress换域名后，博客无法访问了，改了所有的能改的配置文件，错误依然。 看来问题只能在数据库里找了，研究发现在数据库中的w_options表，保存了老域名相关的信息。把 w_options表中option_value所有老域名的信息，更新成新域名后，问题解决。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/howto/557.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uchome又一硬伤-后台审核功能</title>
		<link>http://www.lutuzhi.com/opensource/440.html</link>
		<comments>http://www.lutuzhi.com/opensource/440.html#comments</comments>
		<pubDate>Tue, 19 Jan 2010 15:58:00 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[UCHOME]]></category>
		<category><![CDATA[审核]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/440.html</guid>
		<description><![CDATA[晚上访问出差交友网，吓一大跳，首页上好几张露点的图片，还有很多赤裸裸的挑逗性广告。按照现行扫黄打非规定，完全可以定性为黄色网站了。 赶紧到后台把那些穿衣服太少的图片删除，并禁用对应的账号。尽管这些ID并不一定会再次上传这些流氓图片。 删除完后稍稍放松了一下，突然想起如果那些扫黄打非工作者，亲自到网站上来发裸照怎么办？ 难道我可以相信他们肯定不会这么干？NO WAY！ 于是细细研究起uchome的后台，希望它能够提供这个本来就应该提供的功能-发布前审核，遗憾的是没有任何一个功能可以让管理人员在文章、图片、动态、活动等等被在公布之前审核一下。 在这点上，康盛表现的完全不像一个国内的企业，它表现的更像是外企或者火星来的企业一样令人不解。难道你可以像一个外国人一样装作不懂中国国情吗？难道你假装不懂就可以逍遥“法”外吗？ 在此需要提醒康盛和广大的UCHOME使用者：没有这个功能是很危险的，轻者被警告、重者被喝咖啡、严重者则违反了刑法 第三百六十四条第一款、第四款。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/440.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NGINX 配置404错误页面转向</title>
		<link>http://www.lutuzhi.com/theweb/426.html</link>
		<comments>http://www.lutuzhi.com/theweb/426.html#comments</comments>
		<pubDate>Sun, 17 Jan 2010 09:49:00 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[502错误页面]]></category>
		<category><![CDATA[nginx 404错误]]></category>
		<category><![CDATA[nginx 自定义404]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/426.html</guid>
		<description><![CDATA[&#160; 什么是404页面 如果碰巧网站出了问题，或者用户试图访问一个并不存在的页面时，此时服务器会返回代码为404的错误信息，此时对应页面就是404页面。404页面的默认内容和具体的服务器有关。如果后台用的是NGINX服务器，那么404页面的内容则为： 404 Not Found nginx/0.8.6 &#160; 为什么要自定义404页面 在访问时遇到上面这样的404错误页面，我想99%（未经调查，估计数据）的用户会把页面关掉，用户就这样悄悄的流失了。如果此时能有一个漂亮的页面能够引导用户去他想去的地方必然可以留住用户。因此，每一个网站都应该自定义自己的404页面。 NGINX下如何自定义404页面 IIS和APACHE下自定义404页面的经验介绍文章已经非常多了，NGINX的目前还比较少，凑巧我的几台服务器都是NGINX的，为了解决自家的问题特地对此作了深入的研究。研究结果表明，NGINX下配置自定义的404页面是可行的，而且很简单，只需如下几步： 1.创建自己的404.html页面 2.更改nginx.conf在http定义区域加入： fastcgi_intercept_errors on; 3.更改nginx.conf在server 区域加入： error_page 404 = /404.html 4.测试nginx.conf正确性： /opt/nginx/sbin/nginx –t 如果正确应该显示如下信息： the configuration file /opt/nginx/conf/nginx.conf syntax is ok configuration file /opt/nginx/conf/nginx.conf test is successful 5.重启nginx kill -HUP&#160; `cat /opt/nginx/nginx.pid ` &#160; 配置文件实例： …… http { include&#160;&#160;&#160;&#160;&#160;&#160; mime.types; default_type&#160; application/octet-stream; charset&#160; [...]]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/426.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>PHPCMS 100个常见问题（二）</title>
		<link>http://www.lutuzhi.com/opensource/414.html</link>
		<comments>http://www.lutuzhi.com/opensource/414.html#comments</comments>
		<pubDate>Fri, 24 Jul 2009 15:58:32 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[PHPCMS]]></category>
		<category><![CDATA[常见问题]]></category>
		<category><![CDATA[落伍投资]]></category>
		<category><![CDATA[路遇交友]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/414.html</guid>
		<description><![CDATA[Q12.将标题中指定的字符串删除： UPDATE phpcms_content SET title=REPLACE(title, &#8216;落伍投资&#8217;, ”); Q13.查询内容中包含指定字符串的文章： select contentid, content from phpcms_c_news where content like &#8216;%文章来源：落伍投资 %&#8217; Q14.将文章内容中指定的版权信息替换。 UPDATE phpcms_c_news SET content=REPLACE(content, &#8216;(文章来源：路遇交友网&#8216;, &#8216;(文章来源：落伍投资 http://www.65.la&#8217;); Q15.虽然文章已经被删除，但是在搜索结果中依然出现该文章，怎么办？ 因为phpcms_search表中依然保存了该文章的关键字，所以搜索关键字时会有该文章出现，但是点击链接会出现404错误。 delete phpcms_search from phpcms_search where data like &#8216;%mj%&#8217; Q16.查询指定栏目的对应的内容列 select * from phpcms_c_news where content like &#8216;%落伍投资%&#8217; &#38;&#38; contentid in (select contentid from phpcms_content where catid =37) [...]]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/414.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>升级到UCHOME 2.0，邮件发送功能失效</title>
		<link>http://www.lutuzhi.com/opensource/409.html</link>
		<comments>http://www.lutuzhi.com/opensource/409.html#comments</comments>
		<pubDate>Thu, 23 Jul 2009 03:54:16 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[uchome，邮件功能]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/409.html</guid>
		<description><![CDATA[昨天路遇交友正式升级到UCHOME2.0。升级好后发现邮件邀请功能失效了，发送邮件后迟迟收不到。查看日志/uch/data/200907_smtp.php，有如下提示： &#160; &#60;?PHP exit;?&#62;&#160;&#160;&#160; 2009-07-22 09:30:19&#160;&#160;&#160;&#160;&#160;&#160;&#160; 222.66.162.147&#160;&#160;&#160; 166&#160;&#160;&#160; /do.php?ac=sendmail&#38;rand=1248312618&#160;&#160;&#160; (smtp.gmail.com:465) PASSWORD &#8211; 535-5.7.1 Username and Password not accepted. Learn more at….. &#160; 不知道为何升级会导致邮箱密码错误。 解决方案很简单：后台更新下用户名和密码，保存，更新缓存，邮件功能正常。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/409.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPCMS 100个常见问题 （一）</title>
		<link>http://www.lutuzhi.com/opensource/407.html</link>
		<comments>http://www.lutuzhi.com/opensource/407.html#comments</comments>
		<pubDate>Wed, 22 Jul 2009 17:14:13 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[ERROR 1045]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHPCMS]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/407.html</guid>
		<description><![CDATA[Q1:PHPCMS默认后台地址？ 
Q2:如何更改PHPCMS后台地址为zhaozhishi.php ？ 
Q3：PHPCMS默认管理员是？ 
phpcms 
Q4:登录失败超过5次，ip被锁定，如何解锁？
Q5:远程联接mysql服务器报错：]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/407.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress乱码问题集</title>
		<link>http://www.lutuzhi.com/opensource/369.html</link>
		<comments>http://www.lutuzhi.com/opensource/369.html#comments</comments>
		<pubDate>Wed, 08 Apr 2009 15:27:04 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/369.html</guid>
		<description><![CDATA[使用Wordpress快一个月了，在配置过程中常常被乱码困扰。下面总结下在哪些情况下会遇到乱码：1.修改模板后，如果输入中文可能产生乱码。2.数据迁移后、换主机后可能产生乱码。3.发送邮件，主题、正文，发件人等字段都可能出现乱码。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/369.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>漫游会害死UCHOME站长们</title>
		<link>http://www.lutuzhi.com/opensource/316.html</link>
		<comments>http://www.lutuzhi.com/opensource/316.html#comments</comments>
		<pubDate>Fri, 03 Apr 2009 15:51:58 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[Comsenz]]></category>
		<category><![CDATA[manyou]]></category>
		<category><![CDATA[SNS]]></category>
		<category><![CDATA[UCHOME]]></category>
		<category><![CDATA[漫游]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/316.html</guid>
		<description><![CDATA[Comsenz推出UCHOME，让所有向往SNS的站长像打了鸡血一样一窝蜂的扑了上去。Comsenz想的很周到，不光替站长考虑，替自己考虑的也很周全。为了避免站长们空虚寂寞之余自己脑袋发热胡乱开发各种插件，Comsenz十分体贴提供了一个有趣的平台，它就是漫游。第一次看到漫游的设计思想，我很佩服Comsenz的深谋远虑。 所有的第三方插件都通过漫游平台来提供，最后的唯一的赢家是Comsenz,康盛将拥有互联网上最为庞大的SNS用户群体。数十万个使用uchome的站长们和无数的应用开发人员将把数以亿计的用户乖乖的送到Comsenz的手心。站长们辛辛苦苦做得工作，等于替康盛做了嫁衣。但是，这些都不是最关键的，最要命的是漫游的运营机制有致命的缺陷，这个缺陷会把通过漫游使用了各种小应用的站长们拖向不归路。 SNS站能否取得成功，取决与四个环节。 1.初期推广，获取初次流量。 2.内容改进，吸引用户回头。 3.提高网站可玩性，吸引用户参与。 4.提升网站内在价值，实现盈利。 对于第一个环节，漫游完全帮不上忙，uchome本身在网站宣传推广方面也没有独到之处。 第二个环节正是漫游的用武之地，林林总总的小应用充分满足了用户的各种需要，有些用户甚至专门玩某个应用才会光顾网站。 在第三个环节上,漫游确实起了很大的作用，很多用户很愿意去参与一些趣味性的游戏，比如“开心农场”、“抢车位”等。但是这也恰恰是一个隐患。如果一个SNS站点里的用户活动都是集中在这些通用的小应用上，那么这个网站绝不具备长期生存能力，非常容易被用户抛弃。一个网站的可玩性应该是独一无二的，一个网站的可玩性应该是无法替代的，一个网站的可玩性应该是由自己独立提供的，并且完全独立掌控的。从这个意义上来说，漫游是裹着糖衣的毒药，尝起来甜，吃起来害死人。 在第四个环节上，漫游起到的是完全相反的作用。前篇一律的应用，数十万家网站都具有的功能，对于网站内在价值的提升没有任何帮助。 有的SNS站，同时启用了数十个漫游应用。网站里所有的动态信息都是由小应用产生的，看起来网站很繁荣，很活跃。但是这些信息都是无效的信息；这些用户活动都是无效的用户活动；这些应用都不是网站价值的真实体现。我认为抛弃漫游对于广大站长来说，是早晚必须要做的事。这件事与其晚做，不如早做，最好现在就做。不要沉迷于漫游应用带来的虚假繁荣，不要依赖漫游应用吸引用户的参与，它会害死你的站。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/316.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UCHOME提示:Invalid argument supplied for foreach()</title>
		<link>http://www.lutuzhi.com/opensource/314.html</link>
		<comments>http://www.lutuzhi.com/opensource/314.html#comments</comments>
		<pubDate>Thu, 02 Apr 2009 15:22:52 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[1356]]></category>
		<category><![CDATA[D_BUG]]></category>
		<category><![CDATA[function_common.php]]></category>
		<category><![CDATA[UCHOME]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/314.html</guid>
		<description><![CDATA[今天在做UCHOME开发时,遇到一个新问题，在有些情况下在页面顶部会出现下列错误信息：Warning: array_keys() [function.array-keys]: The first argument should be an array in /www/uch/source/function_common.php on line 1356 

Warning: Invalid argument supplied for foreach() in /www/uch/source/function_common.php on line 1356]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/314.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx主模块-NginxHttpMainModule</title>
		<link>http://www.lutuzhi.com/opensource/308.html</link>
		<comments>http://www.lutuzhi.com/opensource/308.html#comments</comments>
		<pubDate>Wed, 01 Apr 2009 15:50:25 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[聚焦开源]]></category>
		<category><![CDATA[daemon]]></category>
		<category><![CDATA[debug_points]]></category>
		<category><![CDATA[env]]></category>
		<category><![CDATA[error_log]]></category>
		<category><![CDATA[lock_file]]></category>
		<category><![CDATA[log_not_found]]></category>
		<category><![CDATA[Nginx]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/opensource/308.html</guid>
		<description><![CDATA[NginxHttpMainModule是Nginx的主模块，这篇文章介绍了该模块的几个主要参数及其用法，并附带了大量的示例。包含Nginx,daemon,env,debug_points,error_log,log_not_found,lock_file 等指令]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/opensource/308.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

