<?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/theweb/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/theweb/547.html</link>
		<comments>http://www.lutuzhi.com/theweb/547.html#comments</comments>
		<pubDate>Sat, 22 Jan 2011 12:21:30 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[wordpress维护模式]]></category>
		<category><![CDATA[正在执行例行维护]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/547.html</guid>
		<description><![CDATA[在后台启用wordpress的自动更新功能，进行程序、主题、插件的更新时，wordpress会自动“启用维护模式 …”。 如果在更新过程中出现意外，那么此时无论是访问前台还是后台都会出现如下提示： 正在执行例行维护，请一分钟后回来。 解除”维护模式”最简单的方法是删除网站根目录下的 .maintenance 文件。这个文件只有在进入”维护模式时”才会出现，可以放心的删除。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/547.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>备案不通过</title>
		<link>http://www.lutuzhi.com/theweb/444.html</link>
		<comments>http://www.lutuzhi.com/theweb/444.html#comments</comments>
		<pubDate>Sat, 23 Jan 2010 05:03:54 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[不符合备案要求]]></category>
		<category><![CDATA[备案不通过]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/444.html</guid>
		<description><![CDATA[今天登陆邮箱，意外的收到了www.miibeian.gov.cn发来的一封邮件。之所以会感到意外，是因为之前登陆该网站一直被提示：用户名或密码错误云云。找回密码，被提示：密码已经发送到指定的邮箱云云，而我在从没在任何邮箱收到来自该网站的任何邮件。因此，我一度认为该网站已经成为僵尸网站，只会说鬼话从不做人事。 今天收到的邮件内容是： 尊敬的用户[XXX]，很遗憾的通知您，您的ICP备案申请(looftech.com)，经[上海市通信管理局2]审核，不符合备案要求，现退回修改，原因请登陆系统查询。 looftech.com是准备给一个正规的企业做站用的域名，现在任何内容都还没放上去居然不符合备案要求。难以置信。 按照邮件提示，登陆该网站，再次遭到:用户名或密码无效的提示。这次按照提示操作，终于10分钟后收到新的密码了，非常神奇的一个系统，居然会偷偷的改用户密码，然后会应你的要求再发还给你。 遗憾的是，登陆系统后根本就没找到任何关于不符合备案要求的提示。这就是备案和备案系统和备案系统后面的人的所做的工作。 在这个系统的笼罩下，中国的互联网没有未来。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/444.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>如何判断PHP数组是否为空</title>
		<link>http://www.lutuzhi.com/theweb/433.html</link>
		<comments>http://www.lutuzhi.com/theweb/433.html#comments</comments>
		<pubDate>Tue, 19 Jan 2010 02:59:00 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/433.html</guid>
		<description><![CDATA[&#160; PHP判断数组为空首选方法：count($arr),size($arr); $arr= array(&#34;&#34;); echo count($arr); echo size($arr); //输出1 &#160; $arr= array(); echo count($arr); echo size($arr); //输出0 PHP判断数组为空方法2：empty($arr); $arr= array(&#34;&#34;); $result = empty($arr); //$result = false &#160; $arr = array(); $result = empty($arr); //$result = true 这两种方法足以应对简单数组和多维数组是否为空的判断问题,个人一般用empty()来做数组非空判断，这样感觉代码看起来更容易理解。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/433.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>20.la不能解析了，dns服务器故障了。</title>
		<link>http://www.lutuzhi.com/theweb/428.html</link>
		<comments>http://www.lutuzhi.com/theweb/428.html#comments</comments>
		<pubDate>Sun, 17 Jan 2010 02:05:53 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[20.la]]></category>
		<category><![CDATA[dns无法解析]]></category>
		<category><![CDATA[域名超市]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/428.html</guid>
		<description><![CDATA[20.la是在域名超市注册的，早上起来突然发现访问不了，DNS无法解析。 目前域名超市自己的网站也上不了了。希望不是他们自己的服务器给扛走了，如果连机房都被封了，那就 麻烦了。问题解决后要转到大的域名服务商那里去了。 &#160; 在域名超市里注册域名价格比较公道，服务也还可以，唯一的一个缺点就是服务不及时，公司太小经不起 这风吹雨打的世道。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/428.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于白名单计划最通俗的解释</title>
		<link>http://www.lutuzhi.com/theweb/425.html</link>
		<comments>http://www.lutuzhi.com/theweb/425.html#comments</comments>
		<pubDate>Sat, 16 Jan 2010 03:51:58 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[白名单]]></category>
		<category><![CDATA[白名单技术]]></category>
		<category><![CDATA[白名单计划]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/425.html</guid>
		<description><![CDATA[1.白名单是一项政策，不是技术。网上有人说工信部在全球范围内率先启用白名单技术云云，这是外行人的说法。  2.我国政府一直以来是用黑名单制度来屏蔽我国人民不应该访问的网站，这样的防御措施可以称为被动防御措施。而白名单是主动防御措施，没被例如白名单的网站都是我国人民不应该访问的网站。  3.境外的网站必须主动在工信部备案才会列入白名单。这个政策的最终目的是在互联网领域把地球给管理起来。在互联网领域率先实现全球统一。 4.白名单不仅仅对境外网站有效，对境内网站也是如此，只有备案通过的网站才会被列入白名单，否则IDC不允许提供接入服务。这个措施从根本上断绝了没备案网站存在的可能性。  5.在其它领域如果你被列入黑名单可能意味着你的所做所为遭到正直勇敢的人民群众的唾弃，在互联网领域，如果你没被列入白名单，通常意味着你有坚定的价值观，并将其付诸实践了。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/425.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>落伍投资在火狐、Chrome下左偏解决办法</title>
		<link>http://www.lutuzhi.com/theweb/423.html</link>
		<comments>http://www.lutuzhi.com/theweb/423.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 02:41:00 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[div不兼容]]></category>
		<category><![CDATA[div左偏]]></category>
		<category><![CDATA[firefox Chrome左偏]]></category>
		<category><![CDATA[IE下正常]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/423.html</guid>
		<description><![CDATA[概述： 落伍投资网站主体由DIV+CSS构建，开发时一直在IE下预览效果，在这过程中没发现有错位的情况。最近通过统计工具发现，使用火狐访问落伍投资的用户比较多，于是安装了火狐测试了一下。测试过程中发现，几乎所有的页面都存在&#60;body&#62;&#60;div class=”main”&#62;&#60;/div&#62;区域左偏的问题。 解决方案： 在CSS文件中，Main的定义如下： .Main{border-top:1px #c8d8f2 solid;border-bottom:1px #c8d8f2 solid; width:960px; margin-top:20px;text-align:left; } 改为： .Main{border-top:1px #c8d8f2 solid;border-bottom:1px #c8d8f2 solid; width:960px; margin-top:20px;text-align:left;margin: auto; } 上传，刷新页面，现在在firefox和chrome下页面显示和在IE中显示效果完全一样了。 解决过程： 这个问题的分析思路很明确，因为顶部导航和Main区域分别是用&#60;div class =”nav_top”&#62;和&#60;div class=”main”&#62;定义的。但是顶部导航区域一切正常，不存在左偏的问题。接下来就分析在CSS文件中nav_top和main的区别。比较发现，nav_top的定义中多了一个关键的：margin: auto; 问题原因： 在FireFox、Chrome中如果 body 设置 了text-align, div 需要设置 margin: auto 才可以居中，这点和IE的解释是不一致的。在落伍投资的CSS文件中，body恰好定义为： body {text-align:center;background:#ffffff;}]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/423.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>明修栈道，暗度陈仓</title>
		<link>http://www.lutuzhi.com/theweb/421.html</link>
		<comments>http://www.lutuzhi.com/theweb/421.html#comments</comments>
		<pubDate>Wed, 13 Jan 2010 15:44:58 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[google撤出]]></category>
		<category><![CDATA[百度被黑]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/421.html</guid>
		<description><![CDATA[2010.01.12，百度因为DNS解析问题，在全球范围内无法正常提供服务。关于此事，众说纷纭，对于背后黑手到底是谁一直没有官方确认。 更多的人认为是“伊朗网军”通过攻击DNS根服务器来间接的攻击了百度，并列出了两大的证据： 1.前不久twitter也遭到了类似的攻击，背后黑手是“伊朗网军”。 2.百度服务停止期间，一度被指向了具有“伊朗网军”标志的网站。 &#160; 关于黑手是谁这个问题，我想最终也会不了了之，无论是民间还是官方都给不出一个合理的答案。 但是我相信，伊朗网军绝对不是背后黑手。不是因为伊朗人民有多善良，而是他们根本没有动机去做这件事。 出不了名，得不了利，运气不好的话还会惹上官司，这事你肯干吗？ 唯一的解释是：能在这场混战中牟利的人干了这件搅混水的事，那么到底是谁呢？ 请看提示： 2010.01.12，百度因为DNS解析问题，在全球范围内无法正常提供服务。导致当日百度股票表现欠佳。 2010.01.13&#160;&#160; 突然媒体爆出Google要撤出中国的言论，当日百度股票大涨。 &#160; 攻击百度仅仅是战役的一部分而已，大家的眼光恰恰集中在这最微不足道的环节了。修栈道造势造的很到位，度陈仓过的非常巧妙，颇有润物细无声之妙。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/421.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>路途志网站更新日志 2009年7月</title>
		<link>http://www.lutuzhi.com/theweb/410.html</link>
		<comments>http://www.lutuzhi.com/theweb/410.html#comments</comments>
		<pubDate>Thu, 23 Jul 2009 06:35:00 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[更新日志]]></category>
		<category><![CDATA[路途志]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/410.html</guid>
		<description><![CDATA[7月23日 Platinum SEO Pack 更新至 1.2.6版，这个版本5月份就出来了，一直没更新,因为新版本的功能和我无关。今天要更新其它的插件，顺手把这个也更新了。 google-sitemap-generator 更新至 3.1.4，这个版本和我的老版本比起来有了可爱的变化。Microsoft的搜索，从Live search 指向bing了 wp-pagenavi 更新至2.50,支持wordpress 2.8.2。 Contact Form 7，更新至 2.0，号称Compatible up to: 2.9-rare，哈哈。我喜欢它的描述。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/410.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>路遇交友网定位，兼谈UCHOME</title>
		<link>http://www.lutuzhi.com/theweb/387.html</link>
		<comments>http://www.lutuzhi.com/theweb/387.html#comments</comments>
		<pubDate>Mon, 13 Apr 2009 17:36:17 +0000</pubDate>
		<dc:creator>路途志</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[UCHOME]]></category>
		<category><![CDATA[出差交友]]></category>
		<category><![CDATA[旅游]]></category>
		<category><![CDATA[路友]]></category>
		<category><![CDATA[路遇交友网]]></category>

		<guid isPermaLink="false">http://www.lutuzhi.com/theweb/387.html</guid>
		<description><![CDATA[路遇交友网 的定位是给出门在外的人提供一个网上的家园，让在外地人不感到寂寞。它是基于UCHOME创建的一个SNS交友站。核心功能应该是出差交友、旅游交友、上下班交友等。]]></description>
		<wfw:commentRss>http://www.lutuzhi.com/theweb/387.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

