<?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>Agyuku</title>
	<atom:link href="http://agyuku.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://agyuku.net</link>
	<description>Programming and randomness</description>
	<lastBuildDate>Sat, 10 Dec 2011 04:52:37 +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>Tanjoubi omedetou</title>
		<link>http://agyuku.net/2011/11/%e8%aa%95%e7%94%9f%e6%97%a5%e3%81%8a%e3%82%81%e3%81%a7%e3%81%a8%e3%81%86%e3%80%82/</link>
		<comments>http://agyuku.net/2011/11/%e8%aa%95%e7%94%9f%e6%97%a5%e3%81%8a%e3%82%81%e3%81%a7%e3%81%a8%e3%81%86%e3%80%82/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 19:42:43 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[birthday]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=847</guid>
		<description><![CDATA[age++;]]></description>
			<content:encoded><![CDATA[<p><span style="color:green">age++;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/11/%e8%aa%95%e7%94%9f%e6%97%a5%e3%81%8a%e3%82%81%e3%81%a7%e3%81%a8%e3%81%86%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From coding to capturing moments</title>
		<link>http://agyuku.net/2011/11/from-coding-to-capturing-moments/</link>
		<comments>http://agyuku.net/2011/11/from-coding-to-capturing-moments/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 03:41:25 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[500px]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[hobby]]></category>
		<category><![CDATA[landscape]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=852</guid>
		<description><![CDATA[Since the day I started with my career I&#8217;ve been so busy, in fact, there&#8217;s nothing else to do but work. It&#8217;s been the same old routine but because I love what I&#8217;m doing, it&#8217;s not something to complain about. Not long ago, I wished to do something else, something I haven&#8217;t tried and was [...]]]></description>
			<content:encoded><![CDATA[<p>Since the day I started with my career I&#8217;ve been so busy, in fact, there&#8217;s nothing else to do but work. It&#8217;s been the same old routine but because I love what I&#8217;m doing, it&#8217;s not something to complain about. Not long ago, I wished to do something else, something I haven&#8217;t tried and was hoping to fill the empty spaces of my life.. and so my interest in photography started. It was a no brainer choice because it feels close to what I&#8217;m doing everyday except I won&#8217;t be dealing with codes but pictures. I knew it was not going to be easy because it never was, it needs judgment and skill. I don&#8217;t have a good judgment and skill. I&#8217;m just some guy entering a new realm with a vast universe of people who have spent their entire lives doing it. But, it&#8217;s not a problem. I&#8217;m here to learn. This year I was able to travel in different places and do things I haven&#8217;t done before &#8211; I was able to get away from the city limits. It&#8217;s also one of the reasons why I&#8217;ve been busy. </p>
<p>I spent majority of my free time tinkering with my camera and traveling with friends who share the same interest. It was a tiring new hobby and is expensive, too. We went to places around the country where people don&#8217;t normally go to just to explore and take the time to experiment with our skills. I can count the places we&#8217;ve visited but I&#8217;ve already lost count how many times I tried to make a good photo and most of them are failures. Despite not being in the level of the experts, I still have the spirit that one day I will be good enough. But for now, I&#8217;ll carry my patience with me and learn as we go along.</p>
<p><img src="http://i.imgur.com/7sUXH.jpg"></p>
<p><small>View some of my photos on <a href="http://www.flickr.com/photos/tradyblix/" target="_blank">flickr</a> and <a href="http://500px.com/lloyd" target="_blank">500px</a>.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/11/from-coding-to-capturing-moments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not busy?</title>
		<link>http://agyuku.net/2011/11/not-busy/</link>
		<comments>http://agyuku.net/2011/11/not-busy/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 02:18:42 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bored]]></category>
		<category><![CDATA[busy]]></category>
		<category><![CDATA[weekend]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=843</guid>
		<description><![CDATA[It&#8217;s surprising how I only have few tabs opened during weekends compared on weekdays where I have more than a dozen and more than 2 windows opened. It&#8217;s also surprising that I&#8217;m taking the time to write about it, too.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s surprising how I only have few tabs opened during weekends compared on weekdays where I have more than a dozen and more than 2 windows opened. It&#8217;s also surprising that I&#8217;m taking the time to write about it, too.<br />
<img src="http://i.imgur.com/tP92m.png"></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/11/not-busy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick update</title>
		<link>http://agyuku.net/2011/08/quick-update/</link>
		<comments>http://agyuku.net/2011/08/quick-update/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 09:49:08 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=821</guid>
		<description><![CDATA[The guy who owns this site is busy and lazy to post. He just logged in today and updated WordPress to the latest version. That&#8217;s all.]]></description>
			<content:encoded><![CDATA[<p>The guy who owns this site is busy and lazy to post. He just logged in today and updated WordPress to the latest version. That&#8217;s all.</p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/08/quick-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe Flash player update installation</title>
		<link>http://agyuku.net/2011/04/adobe-flash-player-update-installation/</link>
		<comments>http://agyuku.net/2011/04/adobe-flash-player-update-installation/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 13:04:09 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash player]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=795</guid>
		<description><![CDATA[I always notice things, even unimportant ones. Today, I noticed Adobe&#8217;s flash update installer. When updating a software you usually see the word Install once and after that you only need to press Next and Done. For Adobe, showing the Install button once is not enough, they show it twice. It&#8217;s not a problem really, [...]]]></description>
			<content:encoded><![CDATA[<p>I always notice things, even unimportant ones. Today, I noticed Adobe&#8217;s flash update installer. When updating a software you usually see the word <strong>Install</strong> once and after that you only need to press <strong>Next</strong> and <strong>Done</strong>. For Adobe, showing the <strong>Install</strong> button once is not enough, they show it twice. It&#8217;s not a problem really, but I&#8217;m guessing or probably the first Install button should indicate a <strong>Download</strong> button because clicking it doesn&#8217;t install the update, it downloads it and then installation happens. I took some screenshots of the update process and it shows that I may be correct with my guess.</p>
<p>First one says install:<br />
<img src="http://i.imgur.com/Yaqi2.png"></p>
<p>The next one which happens after clicking the &#8220;Install&#8221; button is actually a download:<br />
<img src="http://i.imgur.com/q6TRo.png"></p>
<p>Next one, there is another &#8220;Install&#8221; button, this time it&#8217;s the real one:<br />
<img src="http://imgur.com/y8M2H.png"></p>
<p>Last one, installation is completed:<br />
<img src="http://i.imgur.com/ottqx.png"></p>
<p>See what I&#8217;m saying? </p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/04/adobe-flash-player-update-installation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windstruck</title>
		<link>http://agyuku.net/2011/03/windstruck/</link>
		<comments>http://agyuku.net/2011/03/windstruck/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 02:06:24 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=810</guid>
		<description><![CDATA[It&#8217;s probably the saddest movie I&#8217;ve ever watched. It&#8217;s so sad I had a teary eye, I really felt it. Srsly. It&#8217;s korean and it&#8217;s good. There are funny parts at the beginning but through out the movie it&#8217;s all sad. Get yourself a good sad movie, I recommend it. After watching, this song should [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s probably the saddest movie I&#8217;ve ever watched. It&#8217;s so sad I had a teary eye, I really felt it. Srsly. It&#8217;s korean and it&#8217;s good. There are funny parts at the beginning but through out the movie it&#8217;s all sad. Get yourself a good sad movie, I recommend it. After watching, this <a href="http://www.youtube.com/watch?v=oRf9cw598NQ" target="_blank">song</a> should remind you of the movie.</p>
<p><small>Watch the movie and then watch this <a href="http://en.wikipedia.org/wiki/My_Sassy_Girl" target="_blank">another</a> movie as they have some <a href="http://en.wikipedia.org/wiki/Windstruck#Connections_to_My_Sassy_Girl" target="_blank">connections</a>.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/03/windstruck/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP session not persistent after server migration</title>
		<link>http://agyuku.net/2011/03/php-session-not-persistent-after-server-migration/</link>
		<comments>http://agyuku.net/2011/03/php-session-not-persistent-after-server-migration/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 00:52:13 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=773</guid>
		<description><![CDATA[Nerd Talk I remember when we setup an Apache web server to move from Lighttpd, after we installed PHP we just copied over the same php.ini file to use the same settings. During testing I had a problem with sessions not persisting between pages, it was a pain to realize the problem at first. The [...]]]></description>
			<content:encoded><![CDATA[<h4>Nerd Talk</h4>
<p>I remember when we setup an Apache web server to move from Lighttpd, after we installed PHP we just copied over the same php.ini file to use the same settings. During testing I had a problem with sessions not persisting between pages, it was a pain to realize the problem at first. The cause of the issue is with the <strong>session.save_path</strong>, since we just copied over the old php.ini file, the folder path set to where the session should be saved is, well, not existing. I created the folder, the <strong>session</strong> folder, set write permissions and sessions are flying across pages!<br />
You can find the session.save_path directive in /etc/php.ini and check out where sessions are saved, ex:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">session.save_path = <span style="color: #ff0000;">&quot;/var/lib/php/session&quot;</span></pre></div></div>

<p><small>I believe it&#8217;s not the best practice to set 0777 (means everyone can read/write) permissions for the sessions folder as other users of the server may be able to hijack session files so be careful on this.</small></p>
<p>Literally, this is the song that played on my head when things started to work. It&#8217;s one of my childhood anime song. Watch and listen to <a href="http://www.youtube.com/watch?v=iz2zvzOtVxg" target="_blank">this</a>!</p>
<p><small>I&#8217;m eating bacon and rice for breakfast right now, btw. Just saying ;p</small></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/03/php-session-not-persistent-after-server-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging lighttpd&#8217;s 404 handler</title>
		<link>http://agyuku.net/2011/03/debugging-lighttpds-404-handler/</link>
		<comments>http://agyuku.net/2011/03/debugging-lighttpds-404-handler/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 20:38:32 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server debugging]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=781</guid>
		<description><![CDATA[Nerd Talk I recently fixed an issue in the server that&#8217;s related to lighttpd 404 handler. The problem is when a URL is accessed with weird characters lighttpd returns a 404 page. For example, you saw something like this in your page views log and it returned a 404 error: http://agyuku.net/%C2%A0 The example above results [...]]]></description>
			<content:encoded><![CDATA[<h4>Nerd Talk</h4>
<p>I recently fixed an issue in the server that&#8217;s related to lighttpd 404 handler. The problem is when a URL is accessed with weird characters lighttpd returns a 404 page. For example, you saw something like this in your page views log and it returned a 404 error:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">http://agyuku.net/%C2%A0</pre></div></div>

<p>The example above results to &#8220;http://agyuku.net &#8221; in the browser and returns Page Not Found. Notice the space after .net. The weird character &#8220;<strong>%C2%A0</strong>&#8221; is translated by the browser as a space but the server actually sees it as something else. Adding a space after the domain doesn&#8217;t really cause the server to react and treat it as a missing page. A solution that should do the work is to add a rewrite rule in lighttpd&#8217;s conf file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #ff0000;">&quot;(.+?)(%C2%A0)$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;$1&quot;</span></pre></div></div>

<p>The regular expression matches the weird characters at the end of the URL. When lighttpd receives a page request it will only read the URL without the weird stuff. <strong>$1</strong> is a back reference to the regular expression pattern which means use those that matches the first pattern, in this case it&#8217;s <strong>(.+?)</strong>. This should actually work but there&#8217;s a case due to different server settings, this may not solve the issue as lighttpd doesn&#8217;t see &#8220;%C2%A0&#8243; as-is when the URL is accessed, it may be something else. </p>
<p>If the above method didn&#8217;t work then enabling lighttpd&#8217;s debug variables will give a clue to the issue. The debug variables are disabled by default, somewhere in lighttpd.conf set these to be enabled:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">debug.log-request-header   = <span style="color: #ff0000;">&quot;enable&quot;</span>
debug.log-response-header  = <span style="color: #ff0000;">&quot;enable&quot;</span>
debug.log-request-handling = <span style="color: #ff0000;">&quot;enable&quot;</span>
debug.log-file-not-found   = <span style="color: #ff0000;">&quot;enable&quot;</span></pre></div></div>

<p>Once those are set save lighttpd.conf and restart the server. Access the URL with weird characters in the browser to trigger the error and it should write something in the server&#8217;s error log. Do a <strong>tail</strong> to the error log to check the last reported error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">150</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>error.log</pre></div></div>

<p>The command above displays the last 150 lines in the error log. Check the displayed errors and there should be something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.221<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> splitting Request-URI
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.222<span style="color: #7a0874; font-weight: bold;">&#41;</span> Request-URI  :  <span style="color: #000000; font-weight: bold;">/%</span>C2<span style="color: #000000; font-weight: bold;">%</span>A0
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.223<span style="color: #7a0874; font-weight: bold;">&#41;</span> URI-scheme   :  http
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.224<span style="color: #7a0874; font-weight: bold;">&#41;</span> URI-authority:  agyuku.net
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.225<span style="color: #7a0874; font-weight: bold;">&#41;</span> URI-path     :  <span style="color: #000000; font-weight: bold;">/%</span>C2<span style="color: #000000; font-weight: bold;">%</span>A0
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.226<span style="color: #7a0874; font-weight: bold;">&#41;</span> URI-query    :
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.254<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> sanatising URI
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.255<span style="color: #7a0874; font-weight: bold;">&#41;</span> URI-path     :  <span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>mod_access.c.135<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> mod_access_uri_handler called
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.391<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> before doc_root
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.392<span style="color: #7a0874; font-weight: bold;">&#41;</span> Doc-Root     : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.393<span style="color: #7a0874; font-weight: bold;">&#41;</span> Rel-Path     : <span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.394<span style="color: #7a0874; font-weight: bold;">&#41;</span> Path         :
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.442<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> after doc_root
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.443<span style="color: #7a0874; font-weight: bold;">&#41;</span> Doc-Root     : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.444<span style="color: #7a0874; font-weight: bold;">&#41;</span> Rel-Path     : <span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.445<span style="color: #7a0874; font-weight: bold;">&#41;</span> Path         : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.462<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> logical -<span style="color: #000000; font-weight: bold;">&gt;</span> physical
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.463<span style="color: #7a0874; font-weight: bold;">&#41;</span> Doc-Root     : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.464<span style="color: #7a0874; font-weight: bold;">&#41;</span> Rel-Path     : <span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.465<span style="color: #7a0874; font-weight: bold;">&#41;</span> Path         : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.482<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> handling physical path
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.483<span style="color: #7a0874; font-weight: bold;">&#41;</span> Path         : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>Â
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.539<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">--</span> <span style="color: #c20cb9; font-weight: bold;">file</span> not found
<span style="color: #7a0874; font-weight: bold;">&#40;</span>response.c.540<span style="color: #7a0874; font-weight: bold;">&#41;</span> Path         : <span style="color: #000000; font-weight: bold;">/</span>some<span style="color: #000000; font-weight: bold;">/</span>document<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>Â</pre></div></div>

<p>Notice <strong>/%C2%A0</strong> translated as <strong>/Â</strong>. The browser converts the weird characters as a space but the server treated it differently and converted it to &#8220;Â&#8221;. A 404 response is sent by the server because it&#8217;s trying to find /some/document/root/path/Â which doesn&#8217;t exist. We will use the findings above to fix the issue, modify the URL rewrite to something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #ff0000;">&quot;(.+?)(%C2%A0|Â)$&quot;</span> =<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;$1&quot;</span></pre></div></div>

<p>The pattern now includes the weird character in the URL (just to be sure we handle it as well) and the one that the server see internally (the &#8220;Â&#8221;). Save lighttpd and restart the server. Access the URL and it should load up the page without an error.</p>
<p>The above scenario is something I experienced and may be different from issues you may have but I hope it helps someone. And wow, it&#8217;s 4 in the morning, I should get some sleep.<br />
<br />
More on lighttpd debug variables <a href="http://redmine.lighttpd.net/wiki/1/DebugVariables" target="_blank">here</a>.<br />
<small><i>I used http://agyuku.net an example domain only and it&#8217;s not running in lighttpd, it runs in Apache.</i></small></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/03/debugging-lighttpds-404-handler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude svn folder when copying files to another location</title>
		<link>http://agyuku.net/2011/03/exclude-svn-folder-when-copying-files-to-another-location/</link>
		<comments>http://agyuku.net/2011/03/exclude-svn-folder-when-copying-files-to-another-location/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 19:11:07 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=770</guid>
		<description><![CDATA[Quick Tip Copy files from an SVN folder to another location and excludes all .svn folders. This copies files from the source to destination recursively, -r. rsync -r --exclude=.svn /path/to/source /path/to/destination More about rsync here.]]></description>
			<content:encoded><![CDATA[<h4>Quick Tip</h4>
<p>Copy files from an SVN folder to another location and excludes all <strong>.svn</strong> folders. This copies files from the source to destination recursively, <strong>-r</strong>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rsync <span style="color: #660033;">-r</span> <span style="color: #660033;">--exclude</span>=.svn <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">source</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>destination</pre></div></div>

<p>More about rsync <a href="http://linux.about.com/library/cmd/blcmdl1_rsync.htm" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/03/exclude-svn-folder-when-copying-files-to-another-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added to wishlist</title>
		<link>http://agyuku.net/2011/02/added-to-wishlist/</link>
		<comments>http://agyuku.net/2011/02/added-to-wishlist/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 12:27:50 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[nikon]]></category>
		<category><![CDATA[nintendo]]></category>

		<guid isPermaLink="false">http://agyuku.net/?p=749</guid>
		<description><![CDATA[Apart from wanting to buy a Nintendo 3DS, I also want to buy a DSLR &#8211; Nikon D3100. I&#8217;m hoping to buy either one of the two this year. And for today, a random image of Lucy going nuts! xD]]></description>
			<content:encoded><![CDATA[<p>Apart from wanting to buy a Nintendo 3DS, <del datetime="2011-08-27T03:41:37+00:00">I also want to buy a DSLR &#8211; Nikon D3100</del>. I&#8217;m hoping to buy either one of the two this year.</p>
<p>And for today, a random image of <a href="http://fairytail.wikia.com/wiki/Lucy" target="_blank">Lucy</a> going nuts! xD<br />
<a title="IN A NEW TAB &gt;:)" href="http://i.imgur.com/Qguuk.png" target="_blank"><img src="http://i.imgur.com/cckGv.png" alt="" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://agyuku.net/2011/02/added-to-wishlist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

