<?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/"
	>

<channel>
	<title>Joon You &#187; 2008 &#187; July</title>
	<atom:link href="http://www.joonyou.com/2008/07/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joonyou.com</link>
	<description>Strongly Opinionated Geek</description>
	<pubDate>Tue, 30 Dec 2008 20:48:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache Reverse Proxy with MediaWiki</title>
		<link>http://www.joonyou.com/2008/07/30/apache-reverse-proxy-with-mediawiki/</link>
		<comments>http://www.joonyou.com/2008/07/30/apache-reverse-proxy-with-mediawiki/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 09:18:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.joonyou.com/?p=3</guid>
		<description><![CDATA[For last two days, I&#8217;ve been having a bitch of time trying to get Apache reverse proxy to work correctly with my backend server.  It happens that the when I hit the URL for my wiki, it exposes the backend server&#8217;s address and port.  In fact, it was just redirecting it rather than [...]]]></description>
			<content:encoded><![CDATA[<p>For last two days, I&#8217;ve been having a bitch of time trying to get Apache reverse proxy to work correctly with my backend server.  It happens that the when I hit the URL for my wiki, it exposes the backend server&#8217;s address and port.  In fact, it was just redirecting it rather than serving up the pages.</p>
<p>I finally got it to work correctly.  Here&#8217;s my solution.</p>
<p><strong>Front-end Apache (my load balancer):</strong><br />
Apache Config - within VirtualHost directive<br />
<code><br />
ServerName www.yourdomain.com<br />
ServerAlias yourdomain.com<br />
ServerAlias wiki.yourdomain.com<br />
ProxyPreserveHost On<br />
BalancerMember http://{host name}:{port number}<br />
ProxyPass / balancer://{balancer name}/<br />
ProxyPassReverse / balancer://{balancer name}/<br />
</code><br />
<strong>Backend Apache (real server with MediaWiki)</strong><br />
Apache Config - within VirtualHost directive<br />
<code><br />
ServerName {host name}<br />
ServerAlias www.yourdomain.com<br />
ServerAlias wiki.yourdomain.com<br />
</code></p>
<p>I would love to explain this explain how this fixes the issues, but I&#8217;m just too damn tired.  If you need further explanation, post your comment here and I&#8217;ll respond to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joonyou.com/2008/07/30/apache-reverse-proxy-with-mediawiki/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
