<?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>thekua.com@work &#187; Website News</title>
	<atom:link href="http://www.thekua.com/atwork/category/website-news/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thekua.com/atwork</link>
	<description>thekua&#039;s reflections on work related topics</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:42:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>TheKua@Work on Wordle</title>
		<link>http://www.thekua.com/atwork/2010/05/thekuawork-on-wordle/</link>
		<comments>http://www.thekua.com/atwork/2010/05/thekuawork-on-wordle/#comments</comments>
		<pubDate>Wed, 12 May 2010 00:58:51 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Website News]]></category>

		<guid isPermaLink="false">http://www.thekua.com/atwork/?p=939</guid>
		<description><![CDATA[An interesting visualisation of this blog thanks to Wordle.]]></description>
			<content:encoded><![CDATA[<p>An interesting visualisation of this blog thanks to <a href="http://www.wordle.net/">Wordle</a>.</p>
<p><a href="http://www.wordle.net/show/wrdl/1749825/TheKua_%40_Work" title="Wordle: TheKua @ Work"><img src="http://www.thekua.com/atwork/wp-content/uploads/2010/03/TheKuaAtWorkWordle.png"  alt="Wordle: TheKua @ Work" </a></p>
<p>Created by <a href="http://www.wordle.net/">Wordle</a> under the Creative Commons licence.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekua.com/atwork/2010/05/thekuawork-on-wordle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.6.2 interoperability with Apache 2 Mod Proxy</title>
		<link>http://www.thekua.com/atwork/2008/10/wordpress-262-interoperability-with-apache-2-mod-proxy/</link>
		<comments>http://www.thekua.com/atwork/2008/10/wordpress-262-interoperability-with-apache-2-mod-proxy/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 15:28:52 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Website News]]></category>

		<guid isPermaLink="false">http://www.thekua.com/atwork/?p=295</guid>
		<description><![CDATA[I&#8217;ve had some issues upgrading to WordPress 2.6.2. Until recently I had been running 2.5 because I continuously received the error message, &#8220;Firefox has detected that the server is redirecting the request for this address in a way that will never complete.&#8221; I tried all the suggestions on the forums, yet nothing seemed to help [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had some issues upgrading to <a href="http://www.wordpress.org">WordPress 2.6.2</a>. Until recently I had been running 2.5 because I continuously received the error message, &#8220;Firefox has detected that the server is redirecting the request for this address in a way that will never complete.&#8221; I tried all the suggestions on the forums, yet nothing seemed to help with that. Both WordPress 2.6 and 2.6.1 exhibited this behaviour. Fortunately 2.6.2 never gave me this problem, instead giving me other problems. Looking at the source code, I was suspicious when the install.php had references to localhost:11008 when I viewed the source. </p>
<pre>
&lt;link rel=&quot;stylesheet&quot;
href=&quot;http://localhost:11008/trial/wp-admin/css/install.css?ver=20080708&quot;
type=&quot;text/css&quot; media=&quot;all&quot;/&gt;
</pre>
<p>When I ran the installer, it also put that value in for the <code>siteurl</code> option. I looked at the source code and became suspicious of the code putting it in there, specifically in the function wp_guess_url():</p>
<pre>$_SERVER[&quot;HTTP_HOST&quot;]</pre>
<p>I ran a test php page, and found that it was returning the localhost reference. I did some more searching, and found the following comments,</p>
<ul>
<li><a href='http://uk2.php.net/manual/en/reserved.variables.php#65190'>Be careful with HTTP_HOST behind a proxy server</a>
</ul>
<p>I believe my server is running <a href='http://httpd.apache.org/docs/2.0/mod/mod_proxy.html'>Apache Mod Proxy</a>, where my virtual host is forwarded on from the main apache server. I asked my system administrator to play around with the <code>ProxyPreserveHost</code> configuration described <a href='http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypreservehost'>here</a> but unfortunately it didn&#8217;t seem to have much effect on the <code>$_SERVER['HTT_HOST']</code> value. </p>
<p>I did a little bit more reading, and tried using a total wide fix described <a href='http://www.zend.com/forums/index.php?t=msg&#038;th=2119&#038;start=0&#038;S=af530c04f35d870af4b50332dcdd1270'>here</a>, effectively executing some code to reset the HTTP_HOST to the HTTP_X_FORWARDED_HOST value yet that also didn&#8217;t seem to work. </p>
<p>In my .htaccess file, I had added a line:</p>
<pre>
php_value auto_prepend_file wordpress_fixes.php
</pre>
<p>and in a <code>wordpress_fixes.php</code> file, I had:</p>
<pre>
&lt;?php
if(isset($_SERVER["HTTP_X_FORWARDED_HOST"]))
        $_SERVER["HTTP_HOST"] = $_SERVER["HTTP_X_FORWARDED_HOST"];
?&gt;
</pre>
<p>yet it didn&#8217;t seem to do anything. Instead, I reverted back to changing all the <code>$_SERVER['HTTP_HOST']</code> values into <code>$_SERVER['HTTP_X_FORWARDED_HOST']</code></p>
<p>For everyone&#8217;s reference, here are all the files and the line numbers I had to change:</p>
<ul>
<li>wp-includes/canonical.php (line 48)</li>
<li>wp-includes/cron.php (line 103)</li>
<li>wp-includes/feed.php (line 500)</li>
<li>wp-includes/functions.php (line 2327)</li>
<li>wp-includes/pluggable.php (line 669, line 685)</li>
<li>wp-login.php (line 20, line 274, line 275)</li>
</ul>
<p><em>It also looks like it fixed the cron issue of publishing future posts, and trackbacks, so apologies if anyone got flooded with those recently.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekua.com/atwork/2008/10/wordpress-262-interoperability-with-apache-2-mod-proxy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Site</title>
		<link>http://www.thekua.com/atwork/2007/01/new-site/</link>
		<comments>http://www.thekua.com/atwork/2007/01/new-site/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 21:14:11 +0000</pubDate>
		<dc:creator>emailpat</dc:creator>
				<category><![CDATA[Website News]]></category>

		<guid isPermaLink="false">http://www.thekua.com/atwork/?p=3</guid>
		<description><![CDATA[I&#8217;ve decided that it&#8217;s about high time that I split my work and my life blog. Although the feeds from work related categories had been fed into various things, you really can&#8217;t stop the power of search engines from stumbling across content. Rather than confuse people with the two different sets of content, I&#8217;m splitting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided that it&#8217;s about high time that I split my work and my life blog. Although the feeds from work related categories had been fed into various things, you really can&#8217;t stop the power of search engines from stumbling across content. Rather than confuse people with the two different sets of content, I&#8217;m splitting them out. Here&#8217;s my first post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thekua.com/atwork/2007/01/new-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
