<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.5" -->
<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/"
	>

<channel>
	<title>Open Tech Notes</title>
	<link>http://zft.backupdiy.com</link>
	<description>All about open sources, like linux, apache, php, Zend Framework, MySQL, CentOS, Apachefriends...</description>
	<pubDate>Wed, 07 May 2008 05:32:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>
	<language>en</language>
			<item>
		<title>PROPFIND request failed on &#8216;/path/to/repo&#8217; and PROPFIND of &#8216;/path/to/repo&#8217;: 301 Moved Permanently</title>
		<link>http://zft.backupdiy.com/2008/05/06/propfind-request-failed-on-pathtorepo-and-propfind-of-pathtorepo-301-moved-permanently/</link>
		<comments>http://zft.backupdiy.com/2008/05/06/propfind-request-failed-on-pathtorepo-and-propfind-of-pathtorepo-301-moved-permanently/#comments</comments>
		<pubDate>Wed, 07 May 2008 05:31:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>SVN</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2008/05/06/propfind-request-failed-on-pathtorepo-and-propfind-of-pathtorepo-301-moved-permanently/</guid>
		<description><![CDATA[There are a lot of reasons cause this problem in SVN client. But the problem is in server side.
Here is a comprehensive explain about this issue :
http://www.checkupdown.com/status/E301.html
For my case, whenever I create a folder under /opt/lampp/htdocs and if the name is same with &#8216;path/to/repo&#8217; , it will cause this error message:
Error: PROPFIND request failed on [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of reasons cause this problem in SVN client. But the problem is in server side.<br />
Here is a comprehensive explain about this issue :<br />
http://www.checkupdown.com/status/E301.html</p>
<p>For my case, whenever I create a folder under /opt/lampp/htdocs and if the name is same with &#8216;path/to/repo&#8217; , it will cause this error message:</p>
<p>Error: PROPFIND request failed on &#8216;/reponame&#8217;&nbsp; <br />
Error: PROPFIND of &#8216;/reponame&#8217;: 301 Moved Permanently (http://www.vancouvereasy.com)&nbsp;
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2008/05/06/propfind-request-failed-on-pathtorepo-and-propfind-of-pathtorepo-301-moved-permanently/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Let Apachefriends supports Pspell extension for PHP 5.2.5</title>
		<link>http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/</link>
		<comments>http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 21:45:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
	<dc:subject>Apachefriends</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/</guid>
		<description><![CDATA[Apachefriends is great project that facilitate the configuration of LAMP,&#160; but it&#8217;s latest version(1.6.5a) does not support Pspell extension for PHP which is required in our development team.
Fortunately, Apachefriends project provides a development package so that I can take advantage of it to re-compile the PHP. My Linux version is CentOS 4.5 final, all the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apachefriends.org">Apachefriends</a> is great project that facilitate the configuration of LAMP,&nbsp; but it&#8217;s latest version(1.6.5a) does not support Pspell extension for PHP which is required in our development team.</p>
<p>Fortunately, Apachefriends project provides a <a href="http://www.apachefriends.org/en/xampp-linux.html">development package</a> so that I can take advantage of it to re-compile the PHP. My Linux version is CentOS 4.5 final, all the steps are pretty straightforward:</p>
<p>1) Download latest apachefriends packages (both working package and development package) and install them.<br />
2) Download PHP 5.2.5 and untar it<br />
3) yum install pspell-devel<br />
4) Download libbz2 and install it<br />
5) Hack the PHP configuration<br />
&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp; This is the original apachefriends&#8217;s php configuration</p>
<p>./configure &#8211;prefix=/opt/lampp &#8211;with-apxs2=/opt/lampp/bin/apxs &#8211;with-config-file-path=/opt/lampp/etc &#8211;with-mysql=/opt/lampp &#8211;enable-inline-optimization &#8211;disable-debug &#8211;enable-bcmath &#8211;enable-calendar &#8211;enable-ctype &#8211;enable-dbase &#8211;enable-discard-path &#8211;enable-exif &#8211;enable-filepro &#8211;enable-force-cgi-redirect &#8211;enable-ftp &#8211;enable-gd-imgstrttf &#8211;enable-gd-native-ttf &#8211;with-ttf &#8211;enable-magic-quotes &#8211;enable-memory-limit &#8211;enable-shmop &#8211;enable-sigchild &#8211;enable-sysvsem &#8211;enable-sysvshm &#8211;enable-track-vars &#8211;enable-trans-sid &#8211;enable-wddx &#8211;enable-yp &#8211;with-ftp &#8211;with-gdbm=/opt/lampp &#8211;with-jpeg-dir=/opt/lampp &#8211;with-png-dir=/opt/lampp &#8211;with-freetype-dir=/opt/lampp &#8211;without-xpm &#8211;with-zlib=yes &#8211;with-zlib-dir=/opt/lampp &#8211;with-openssl=/opt/lampp &#8211;with-expat-dir=/opt/lampp &#8211;enable-xslt=/opt/lampp &#8211;with-xsl=/opt/lampp &#8211;with-dom=/opt/lampp &#8211;with-ldap=/opt/lampp &#8211;with-ncurses=/opt/lampp &#8211;with-gd &#8211;with-imap-dir=/opt/lampp &#8211;with-imap-ssl &#8211;with-imap=/opt/lampp &#8211;with-gettext=/opt/lampp &#8211;with-mssql=/opt/lampp &#8211;with-sybase=/opt/lampp &#8211;with-interbase=shared,/opt/interbase &#8211;with-mysql-sock=/opt/lampp/var/mysql/mysql.sock &#8211;with-oci8=shared,instantclient,/opt/lampp/lib/instantclient &#8211;with-mcrypt=/opt/lampp &#8211;with-mhash=/opt/lampp &#8211;enable-sockets &#8211;enable-mbstring=all &#8211;with-curl=/opt/lampp &#8211;enable-mbregex &#8211;enable-zend-multibyte &#8211;enable-exif &#8211;with-bz2=/opt/lampp &#8211;with-sqlite=shared,/opt/lampp &#8211;with-libxml-dir=/opt/lampp &#8211;enable-soap &#8211;enable-pcntl &#8211;with-mysqli=/opt/lampp/bin/mysql_config &#8211;with-mime-magic &#8211;with-pgsql=shared,/opt/lampp/postgresql &#8211;with-iconv &#8211;enable-dio &#8211;with-pdo-mysql=/opt/lampp &#8211;with-pdo-pgsql=/opt/lampp/postgresql &#8211;with-pdo-sqlite &#8211;with-ming=shared,/opt/lampp</p>
<p>Because we only use MySQL , so I remove other database support from it such as:</p>
<p>&#8211;with-pdo-pgsql=/opt/lampp/postgresql<br />
&#8211;with-pgsql=shared,/opt/lampp/postgresql <br />
&#8211;with-oci8=shared,instantclient,/opt/lampp/lib/instantclient<br />
&#8211;with-interbase=shared,/opt/interbase</p>
<p>Of course, in order to support Pspell extension, add this at the end</p>
<p>&#8211;with-pspell=/usr</p>
<p>6) re-compile the php</p>
<p>Done! &nbsp;&nbsp;  
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;ip route&#8221; causes problem</title>
		<link>http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/</link>
		<comments>http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 08:30:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/</guid>
		<description><![CDATA[After I re setup the server, there are two weird things happened.
1) I use SSH remotely access the server, after I input the password, it took me about 20 seconds to login in.
2) some clients complained that they could not access the website whereas others could.
After dinner, I came across my friend&#8217;s home, in his [...]]]></description>
			<content:encoded><![CDATA[<p>After I re setup the server, there are two weird things happened.</p>
<p>1) I use SSH remotely access the server, after I input the password, it took me about 20 seconds to login in.<br />
2) some clients complained that they could not access the website whereas others could.</p>
<p>After dinner, I came across my friend&#8217;s home, in his computer, the website could not be accessible.</p>
<p>Then, I was thinking &#8230; he used different ISP, the ip address in his computer starts with 64 whereas mine starts with 24.</p>
<p>I login the server again and type &quot;ip route&quot; and found there was an entry forward all ip start with 64 to one special ip address.(who set this?)</p>
<p>After I deleted this ip route, the two problems above are gone!</p>
<p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Two hard drives failed at the same time on RAID5</title>
		<link>http://zft.backupdiy.com/2007/11/19/two-hard-drives-failed-at-the-same-time-on-raid5/</link>
		<comments>http://zft.backupdiy.com/2007/11/19/two-hard-drives-failed-at-the-same-time-on-raid5/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 06:41:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Backup</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/11/19/two-hard-drives-failed-at-the-same-time-on-raid5/</guid>
		<description><![CDATA[Obviously, it is a huge disaster, 2 out of 3 hard drives failed in RAID5 coincidently at the same time. Fortunately, I have the backup, but still, it is painful to recovery every details.
&#160;

]]></description>
			<content:encoded><![CDATA[<p>Obviously, it is a huge disaster, 2 out of 3 hard drives failed in RAID5 coincidently at the same time. Fortunately, I have the backup, but still, it is painful to recovery every details.</p>
<p>&nbsp;
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/11/19/two-hard-drives-failed-at-the-same-time-on-raid5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>12:Option expected</title>
		<link>http://zft.backupdiy.com/2007/11/07/12option-expected/</link>
		<comments>http://zft.backupdiy.com/2007/11/07/12option-expected/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 21:44:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>SVN</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/11/07/12option-expected/</guid>
		<description><![CDATA[This is the only error message I encountered on setting up SVN sever on Windows 2003.
Here is the config file:
 ### This file controls the configuration of the svnserve daemon, if you 
### use it to allow access to this repository. (If you only allow 
### access through http: and/or file: URLs, then this file [...]]]></description>
			<content:encoded><![CDATA[<p>This is the only error message I encountered on setting up SVN sever on Windows 2003.</p>
<p>Here is the config file:</p>
<p><span class="postbody"> ### This file controls the configuration of the svnserve daemon, if you <br />
### use it to allow access to this repository. (If you only allow <br />
### access through http: and/or file: URLs, then this file is <br />
### irrelevant.) </p>
<p>### Visit <a href="http://subversion.tigris.org/" target="_blank">http://subversion.tigris.org/</a> for more information. </p>
<p>[general] <br />
### These options control access to the repository for unauthenticated <br />
### and authenticated users. Valid values are &quot;write&quot;, &quot;read&quot;, <br />
### and &quot;none&quot;. The sample settings below are the defaults. <br />
&nbsp;anon-access=read <br />
&nbsp;auth-access=write <br />
### The password-db option controls the location of the password <br />
### database file. Unless you specify a path starting with a /, <br />
### the file&#8217;s location is relative to the conf directory. <br />
### Uncomment the line below to use the default password file. <br />
&nbsp;password-db=passwd <br />
### The authz-db option controls the location of the authorization <br />
### rules for path-based access control. Unless you specify a path <br />
### starting with a /, the file&#8217;s location is relative to the conf <br />
### directory. If you don&#8217;t specify an authz-db, no path-based access <br />
### control is done. <br />
### Uncomment the line below to use the default authorization file. <br />
# authz-db = authz <br />
### This option specifies the authentication realm of the repository. <br />
### If two repositories have the same authentication realm, they should <br />
### have the same password database, and vice versa. The default realm <br />
### is repository&#8217;s uuid. <br />
# realm = My First Repository </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Solution is very simple, just remove the SPACE in front of lines which are not be commented.</p>
<p></span>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/11/07/12option-expected/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Taking advantage of &#8220;post-commit&#8221;</title>
		<link>http://zft.backupdiy.com/2007/10/28/taking-advantage-of-post-commit/</link>
		<comments>http://zft.backupdiy.com/2007/10/28/taking-advantage-of-post-commit/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 06:44:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>SVN</dc:subject>
	<dc:subject>Backup</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/10/28/taking-advantage-of-post-commit/</guid>
		<description><![CDATA[If the SVN system could be a good backup system, then the &#34;post-commit&#34; script would be a hidden gem. After I have done the &#34;weird&#34; requirement from the programmers, It trigger me think about a nice backup system.
Writing a remote executable SSH command in post-commit script of the SVN system. After every commit, the system [...]]]></description>
			<content:encoded><![CDATA[<p>If the SVN system could be a good backup system, then the &quot;post-commit&quot; script would be a hidden gem. After I have done the &quot;weird&quot; requirement from the programmers, It trigger me think about a nice backup system.</p>
<p>Writing a remote executable SSH command in post-commit script of the SVN system. After every commit, the system will automatically put all files to two different hosts. The two hosts can be located in two different cities, even two different countries.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/10/28/taking-advantage-of-post-commit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Emails are &#8220;gone&#8221; after read?</title>
		<link>http://zft.backupdiy.com/2007/10/22/emails-are-gone-after-read/</link>
		<comments>http://zft.backupdiy.com/2007/10/22/emails-are-gone-after-read/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 22:42:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Outlook Express</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/10/22/emails-are-gone-after-read/</guid>
		<description><![CDATA[One of my friend called me this morning.
He told me that he use Outlook express, after he read his email and it would disappear right away.
Sounds weird, eh.
Then I had him went through all the options tab, nothing was wrong. 
Eventually, I found the problem is the filter, go view -&#62; Current View, you will [...]]]></description>
			<content:encoded><![CDATA[<p>One of my friend called me this morning.<br />
He told me that he use Outlook express, after he read his email and it would disappear right away.<br />
Sounds weird, eh.</p>
<p>Then I had him went through all the options tab, nothing was wrong. </p>
<p>Eventually, I found the problem is the filter, go view -&gt; Current View, you will get what I mean.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/10/22/emails-are-gone-after-read/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No one cares if you can back up</title>
		<link>http://zft.backupdiy.com/2007/10/17/no-one-cares-if-you-can-back-up/</link>
		<comments>http://zft.backupdiy.com/2007/10/17/no-one-cares-if-you-can-back-up/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 17:31:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Backup</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/10/17/no-one-cares-if-you-can-back-up/</guid>
		<description><![CDATA[I borrowed a book - Backup &#38; Recovery by W.Curtis Preston - from library. As usual, I like read preface first so that I can get some background of the book.
What gave me a great impression was the author&#8217;s friend Joe Fitzpatrick said &#34;No one cares if you can back up&#8211;only if you can recover.&#34;
Definitely, [...]]]></description>
			<content:encoded><![CDATA[<p>I borrowed a book - Backup &amp; Recovery by W.Curtis Preston - from library. As usual, I like read preface first so that I can get some background of the book.</p>
<p>What gave me a great impression was the author&#8217;s friend Joe Fitzpatrick said &quot;No one cares if you can back up&#8211;only if you can recover.&quot;</p>
<p>Definitely, I truly believe it because it happened a lot of&nbsp; around us. The company in the next door backed up their data by tape. What a coincidence! The tape they used have trouble to be reloaded while the hard drives in the server die. The reason is quite&nbsp; simple  &#8212; this tape has been used every night during the past three years.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/10/17/no-one-cares-if-you-can-back-up/feed/</wfw:commentRss>
		</item>
		<item>
		<title>post commit</title>
		<link>http://zft.backupdiy.com/2007/10/16/post-commit/</link>
		<comments>http://zft.backupdiy.com/2007/10/16/post-commit/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 21:40:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>SVN</dc:subject>
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/10/16/post-commit/</guid>
		<description><![CDATA[Programmers require that they want see the effect right after they commit their codes and fortunately the SVN system provides such a great tool to do so.
Under /repository name/hooks/, there is a file called post-commit.tmpl, it is a template file that you can revise it to fit your needs.
Upon the requirements from programmers, I have [...]]]></description>
			<content:encoded><![CDATA[<p>Programmers require that they want see the effect right after they commit their codes and fortunately the SVN system provides such a great tool to do so.</p>
<p>Under /repository name/hooks/, there is a file called post-commit.tmpl, it is a template file that you can revise it to fit your needs.</p>
<p>Upon the requirements from programmers, I have implemented two post commit scripts:</p>
<p>1) the website and the SVN server&nbsp; reside in the same machine<br />
2) the website and the SVN server&nbsp; reside in two different machine</p>
<p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/10/16/post-commit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Msimn has caused an error in msoe.dll</title>
		<link>http://zft.backupdiy.com/2007/09/07/msimn-has-caused-an-error-in-msoedll/</link>
		<comments>http://zft.backupdiy.com/2007/09/07/msimn-has-caused-an-error-in-msoedll/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 05:41:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Outlook Express</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/09/07/msimn-has-caused-an-error-in-msoedll/</guid>
		<description><![CDATA[To solve this problem, try the following steps:
&#160;
loadTOCNode(1, &#8216;resolution&#8217;); Rename the Folders.dbx file:



1.
Click Start, point to Find, and then click Files or Folders.


2.
In the Named box, type folders.dbx.


3.
In the Look In box, click your primary hard disk (usually drive C), and then click Find Now.


4.
Right-click the Folders.dbx file, and then click Rename.


5.
Type folders.old, and then [...]]]></description>
			<content:encoded><![CDATA[<p>To solve this problem, try the following steps:</p>
<p>&nbsp;</p>
<p><script type="text/javascript">loadTOCNode(1, &#8216;resolution&#8217;);</script> Rename the Folders.dbx file:</p>
<table class="list ol">
<tbody>
<tr>
<td class="number">1.</td>
<td class="text">Click <strong>Start</strong>, point to <strong>Find</strong>, and then click <strong class="uiterm">Files or Folders</strong>.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">In the <strong>Named</strong> box, type <span class="userInput">folders.dbx</span>.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">In the <strong>Look In</strong> box, click your primary hard disk (usually drive C), and then click <strong>Find Now</strong>.</td>
</tr>
<tr>
<td class="number">4.</td>
<td class="text">Right-click the <strong>Folders.dbx</strong> file, and then click <strong>Rename</strong>.</td>
</tr>
<tr>
<td class="number">5.</td>
<td class="text">Type <span class="userInput">folders.old</span>, and then click <strong>OK</strong>.</td>
</tr>
<tr>
<td class="number">6.</td>
<td class="text">Start Outlook Express. This creates a new Folders.dbx file automatically.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/09/07/msimn-has-caused-an-error-in-msoedll/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
