<?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; fix</title>
	<atom:link href="http://coolife.org/tag/fix/feed" rel="self" type="application/rss+xml" />
	<link>http://coolife.org</link>
	<description>冲动是魔鬼！！！</description>
	<lastBuildDate>Thu, 13 Oct 2011 02:36:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>.htaccess 造成网站自定义链接无法访问的问题</title>
		<link>http://coolife.org/2007/11/htaccess-access-problem.html</link>
		<comments>http://coolife.org/2007/11/htaccess-access-problem.html#comments</comments>
		<pubDate>Mon, 19 Nov 2007 05:24:51 +0000</pubDate>
		<dc:creator>aRu</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[自定义]]></category>
		<category><![CDATA[访问]]></category>
		<category><![CDATA[链接]]></category>
		<category><![CDATA[问题]]></category>

		<guid isPermaLink="false">http://www.coolife.org/?p=185</guid>
		<description><![CDATA[今天在WordPress后台看到自定义永久链接部分提示手动更新.htaccess文件，懒人一般都不想多做动作，于是修改了.htaccess文件的属性，让WordPress自己更新。更新完了之后发现只要访问任何一个帖子都提示该页面不存在，汗，暴汗，瀑布汗啊。。。 于是删掉服务器上的.htaccess文件后，手动修改.htaccess文件的内容如下： RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] 仍然不能正常访问。郁闷，于是使用google大法，无意中看到一段如下代码 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] SecFilterInheritance Off 尝试着保存到服务器上，再试，一切正常了。让我不明白的是，SecFilterInheritance off 这个命令是让服务器不要使用 mod_security 过滤器的，而这个过滤器是不允许用户发表含有这些单词 “curl”，“lynx” 或者 “wget” 等等单词的文章的。可是我的文章里并没有这些单词，都仍然不能使用。怪啊，怪啊。不过既然问题能解决，也算是ok了吧。 关于.htaccess的内容可以参见：.htaccess使用教程]]></description>
			<content:encoded><![CDATA[<p style="text-indent:2em">今天在WordPress后台看到自定义永久链接部分提示手动更新.htaccess文件，懒人一般都不想多做动作，于是修改了.htaccess文件的属性，让WordPress自己更新。更新完了之后发现只要访问任何一个帖子都提示该页面不存在，汗，暴汗，瀑布汗啊。。。</p>
<p style="text-indent:2em">于是删掉服务器上的.htaccess文件后，手动修改.htaccess文件的内容如下：</p>
<p><coolcode linenum="0"><br />
<ifModule mod_rewrite.c><br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
</ifModule><br />
</coolcode></p>
<p style="text-indent:2em">仍然不能正常访问。郁闷，于是使用google大法，无意中看到一段如下代码</p>
<p><span id="more-185"></span><br />
<coolcode linenum="0"><br />
<ifModule mod_rewrite.c><br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
</ifModule></p>
<p><ifModule mod_security.c><br />
SecFilterInheritance Off<br />
</ifModule><br />
</coolcode></p>
<p style="text-indent:2em">尝试着保存到服务器上，再试，一切正常了。让我不明白的是，SecFilterInheritance off 这个命令是让服务器不要使用 mod_security 过滤器的，而这个过滤器是不允许用户发表含有这些单词 “curl”，“lynx” 或者 “wget” 等等单词的文章的。可是我的文章里并没有这些单词，都仍然不能使用。怪啊，怪啊。不过既然问题能解决，也算是ok了吧。</p>
<p>关于.htaccess的内容可以参见：<a href="http://www.coolife.org/2007/10/tutorial-of-wordpress-httaccess.html/">.htaccess使用教程</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-9233043179276969";
/* 468x60, 创建于 07-11-17 */
google_ad_slot = "3705074307";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p> ]]></content:encoded>
			<wfw:commentRss>http://coolife.org/2007/11/htaccess-access-problem.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nokia &#8220;KNIEXT _NewGlobalRef failed&#8221;错误的解决办法</title>
		<link>http://coolife.org/2007/10/nokia-s40-error.html</link>
		<comments>http://coolife.org/2007/10/nokia-s40-error.html#comments</comments>
		<pubDate>Sat, 27 Oct 2007 15:03:07 +0000</pubDate>
		<dc:creator>aRu</dc:creator>
				<category><![CDATA[硬件]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[解决]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.coolife.org/?p=174</guid>
		<description><![CDATA[今天用手机下载了“飞信”，可是在登录页面就卡住了，怎么也没有反应。于是强行退出了联网模式。之后，在使用其他软件联网的时候，我的Nokia 6270就会提示“KNIEXT _NewGlobalRef failed”错误，无法继续执行下去。而使用手机自带的浏览器访问wap的时候一切正常。搞了半天没明白怎么回事。把手机上跟网络相关的配置翻来翻去看了几遍，把配置改了几次还是没有搞定这个问题。 最后，还是靠着强大的GB大法（google和baidu），搞定了这个问题。其实，这个问题的解决方法很简单。解决的方法就是： 呵呵，方法就是 ——关机重启，这个问题主要是S40系统的用户会遇到 而原文要让关机后拔掉电池，试验的结果是只要关机就行，不需要拔掉电池。 原文： Another issue related to Series 40 network access is the “KNIEXT _NewGlobalRef failed” error some people have experienced on some Series 40 phones. The cause of this problem is that some previous network connection was not closed properly. This issue can be cured by taking the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent:2em">今天用手机下载了“飞信”，可是在登录页面就卡住了，怎么也没有反应。于是强行退出了联网模式。之后，在使用其他软件联网的时候，我的Nokia 6270就会提示“KNIEXT _NewGlobalRef failed”错误，无法继续执行下去。而使用手机自带的浏览器访问wap的时候一切正常。搞了半天没明白怎么回事。把手机上跟网络相关的配置翻来翻去看了几遍，把配置改了几次还是没有搞定这个问题。</p>
<p style="text-indent:2em">最后，还是靠着强大的GB大法（google和baidu），搞定了这个问题。其实，这个问题的解决方法很简单。解决的方法就是：</p>
<p><span id="more-174"></span></p>
<p style="text-indent:2em">呵呵，方法就是<br />
            ——关机重启，这个问题主要是S40系统的用户会遇到<br />
而原文要让关机后拔掉电池，试验的结果是只要关机就行，不需要拔掉电池。<br />
原文：</p>
<blockquote><p>Another issue related to Series 40 network access is the “KNIEXT _NewGlobalRef failed” error some people have experienced on some Series 40 phones. The cause of this problem is that some previous network connection was not closed properly. This issue can be cured by taking the battery away from the phone for a little while.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://coolife.org/2007/10/nokia-s40-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安装Ubuntu后的Windows XP引导恢复</title>
		<link>http://coolife.org/2007/10/fix-windows-loader-in-grub.html</link>
		<comments>http://coolife.org/2007/10/fix-windows-loader-in-grub.html#comments</comments>
		<pubDate>Sat, 20 Oct 2007 04:53:03 +0000</pubDate>
		<dc:creator>aRu</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[loader]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.coolife.org/?p=169</guid>
		<description><![CDATA[在费尽功夫从硬盘装上Ubuntu 7.10 gutsy之后，发现NTloader不在了，我记得在安装的时候好像没有选择Grub的选项（因为是在上班的时候安装的，当是没仔细看，哎，经验害人阿），因为工作需要使用MS office较多，从兼容性等几个方面考虑暂时还不能完全使用Ubuntu完全替代Windows。没办法，只能想个办法把windows找回来了。 现在的情况肯定是因为把GRUB写入了MBR，覆盖了windows使用的NTloader导致无法启动Windows，不过，考虑到GRUB的强大，其实也是可以直接使用GRUB来引导Windows的。PS：前提是原C盘上的Windows引导文件不能有损害。 那下面就来完成用GRUB引导Windows： 对GRUB的修改实际是通过修改menu.lst来实现的，menu.lst文件位于：/boot/grub目录中 sudo gedit /boot/grub/menu.lst 文件说明： #为注释号，之后的内容可以不看，只看没有以#号起行的就行 default=0 default=0 是默认启动哪个系统，从0开始；每个操作系统的启动的定义都从title开始的，第一个title 在GRUB的启动菜单上显示为0,第二个启动为1，以此类推； timeout=5 表示在开机后，GRUB画面出现几秒后开始以默认启动；如果在启动时，移动上下键，则解除这一规则； hidemenu 隐藏GRUB的启动菜单，这项是可选的，也可以用#号注掉； 然后剩下的就是对linux的引导部分了 title Ubuntu 7.10, kernel 2.6.22-14-generic root (hd0,7) kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=de1b4fe4-f596-4336-929e-e954c6f639be ro quiet splash initrd /boot/initrd.img-2.6.22-14-generic quiet title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) root (hd0,7) kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=de1b4fe4-f596-4336-929e-e954c6f639be ro single initrd /boot/initrd.img-2.6.22-14-generic title Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p style="text-indent:2em">在费尽功夫<a href="http://www.coolife.org/2007/10/install-ubuntu-gutsy-from-harddisk.html">从硬盘装上Ubuntu 7.10 gutsy</a>之后，发现NTloader不在了，我记得在安装的时候好像没有选择Grub的选项（因为是在上班的时候安装的，当是没仔细看，哎，经验害人阿），因为工作需要使用MS office较多，从兼容性等几个方面考虑暂时还不能完全使用Ubuntu完全替代Windows。没办法，只能想个办法把windows找回来了。</p>
<p style="text-indent:2em">现在的情况肯定是因为把GRUB写入了MBR，覆盖了windows使用的NTloader导致无法启动Windows，不过，考虑到GRUB的强大，其实也是可以直接使用GRUB来引导Windows的。PS：前提是原C盘上的Windows引导文件不能有损害。</p>
<p style="text-indent:2em">那下面就来完成用GRUB引导Windows：</p>
<p><span id="more-169"></span></p>
<p style="text-indent:2em">对GRUB的修改实际是通过修改menu.lst来实现的，menu.lst文件位于：/boot/grub目录中<br />
<coolcode linenum="0"><br />
sudo gedit /boot/grub/menu.lst<br />
</coolcode><br />
文件说明：<br />
#为注释号，之后的内容可以不看，只看没有以#号起行的就行<br />
<coolcode linenum="0">default=0</coolcode><br />
default=0 是默认启动哪个系统，从0开始；每个操作系统的启动的定义都从title开始的，第一个title 在GRUB的启动菜单上显示为0,第二个启动为1，以此类推；<br />
<coolcode linenum="0">timeout=5</coolcode><br />
表示在开机后，GRUB画面出现几秒后开始以默认启动；如果在启动时，移动上下键，则解除这一规则；<br />
<coolcode linenum="0">hidemenu</coolcode><br />
隐藏GRUB的启动菜单，这项是可选的，也可以用#号注掉；<br />
然后剩下的就是对linux的引导部分了<br />
<coolcode linenum="0"><br />
title		Ubuntu 7.10, kernel 2.6.22-14-generic<br />
root		(hd0,7)<br />
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=de1b4fe4-f596-4336-929e-e954c6f639be ro quiet splash<br />
initrd		/boot/initrd.img-2.6.22-14-generic<br />
quiet</p>
<p>title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)<br />
root		(hd0,7)<br />
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=de1b4fe4-f596-4336-929e-e954c6f639be ro single<br />
initrd		/boot/initrd.img-2.6.22-14-generic</p>
<p>title		Ubuntu 7.10, memtest86+<br />
root		(hd0,7)<br />
kernel		/boot/memtest86+.bin<br />
quiet<br />
</coolcode><br />
每个具体意思就不说明了，在这里看到，现在的Grub只对ubuntu进行了引导，所以，需要在这里加入对Windows的引导部分，隔行加入下面代码：<br />
<coolcode linenum="0"><br />
title		Winxp<br />
rootnoverify		(hd0,0)<br />
chainloader		+1<br />
</coolcode><br />
title后的“winxp”部分可以随意修改，（hd0,0）需要根据实际情况做修改，这里的是意思是第一块ide硬盘的第一个区。<br />
保存后，重新启动，ok，现在在Grub的引导部分就能看到Windows的选项了，选择，顺利进入。到此，完成了整个修改过程。</p>
]]></content:encoded>
			<wfw:commentRss>http://coolife.org/2007/10/fix-windows-loader-in-grub.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Excel2007计算出错Bug已经修复</title>
		<link>http://coolife.org/2007/10/excel2007-bug-fix.html</link>
		<comments>http://coolife.org/2007/10/excel2007-bug-fix.html#comments</comments>
		<pubDate>Wed, 10 Oct 2007 05:51:56 +0000</pubDate>
		<dc:creator>aRu</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://www.coolife.org/?p=162</guid>
		<description><![CDATA[前不久爆出的Excel2007计算出错的Bug已经通过补丁形式修复了，但是还未通过Office updata进行更新。这个补丁包足有32M，看来不止一个地方引起的问题吧。 下载Excel2007计算出错修正补丁包]]></description>
			<content:encoded><![CDATA[<p style="text-indent:2em">前不久爆出的<a href="http://www.coolife.org/2007/09/excel-bug.html">Excel2007计算出错的Bug</a>已经通过补丁形式修复了，但是还未通过Office updata进行更新。这个补丁包足有32M，看来不止一个地方引起的问题吧。</p>
<p><a href="http://download.microsoft.com/download/6/1/3/61343075-aa12-4152-a761-fccc16d6cef4/office-kb943075-fullfile-x86-glb.exe">下载Excel2007计算出错修正补丁包</a></p>
]]></content:encoded>
			<wfw:commentRss>http://coolife.org/2007/10/excel2007-bug-fix.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>修正Linux下丑陋的FireFox的表单控件的问题</title>
		<link>http://coolife.org/2007/05/fix-firefox-form-widgets.html</link>
		<comments>http://coolife.org/2007/05/fix-firefox-form-widgets.html#comments</comments>
		<pubDate>Sun, 27 May 2007 14:02:51 +0000</pubDate>
		<dc:creator>aRu</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[修正]]></category>
		<category><![CDATA[控件]]></category>
		<category><![CDATA[表单]]></category>

		<guid isPermaLink="false">http://www.coolife.org/?p=67</guid>
		<description><![CDATA[在CB上看到的，非常好的解决方案 在 Linux 下,Linux 版本的 Firefox 中显示的表单控件比较丑陋,特别是单选按钮的毛刺和按钮突兀的风格,此解决方法是 ubuntuforums.org 提出的,他们利用新的CSS覆盖了原有的表单CSS做到了这一点.首先如果运行着 Firefox,那么关闭它.然后打开终端命令提示符,输入下面的命令: wget http://users.tkk.fi/~otsaloma/art/firefox-form-widgets.tar.gz tar -xvzf firefox-form-widgets.tar.gz sudo cp /usr/lib/mozilla-firefox/res/forms.css /usr/lib/mozilla-firefox/res/forms.css.bak cat firefox-form-widgets/res/forms-extra.css &#124; sudo tee &#8211;append /usr/lib/mozilla-firefox/res/forms.css &#62; /dev/null sudo cp -r firefox-form-widgets/res/form-widgets /usr/lib/mozilla-firefox/res rm -rf firefox-form-widgets 再打开 Firefox，一切就变得好看了。]]></description>
			<content:encoded><![CDATA[<p>在<a target="_blank" href="http://www.cnbeta.com/articles/27241.htm">CB</a>上看到的，非常好的解决方案</p>
<p>在 Linux 下,Linux 版本的 Firefox 中显示的表单控件比较丑陋,特别是单选按钮的毛刺和按钮突兀的风格,此解决方法是 ubuntuforums.org 提出的,他们利用新的CSS覆盖了原有的表单CSS做到了这一点.首先如果运行着 Firefox,那么关闭它.然后打开终端命令提示符,输入下面的命令:</p>
<p>wget http://users.tkk.fi/~otsaloma/art/firefox-form-widgets.tar.gz</p>
<p>tar -xvzf firefox-form-widgets.tar.gz</p>
<p>sudo cp /usr/lib/mozilla-firefox/res/forms.css /usr/lib/mozilla-firefox/res/forms.css.bak</p>
<p>cat firefox-form-widgets/res/forms-extra.css | sudo tee &#8211;append /usr/lib/mozilla-firefox/res/forms.css &gt; /dev/null</p>
<p>sudo cp -r firefox-form-widgets/res/form-widgets /usr/lib/mozilla-firefox/res</p>
<p>rm -rf firefox-form-widgets</p>
<p>再打开 Firefox，一切就变得好看了。</p>
]]></content:encoded>
			<wfw:commentRss>http://coolife.org/2007/05/fix-firefox-form-widgets.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

