<?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>Kastang &#187; Mod_Proxy</title>
	<atom:link href="http://kastang.com/blog/tag/mod_proxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://kastang.com</link>
	<description>Ramblings of a Geek</description>
	<lastBuildDate>Sat, 21 Aug 2010 16:17:26 +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>Remove :3000 from Tracks GTD domain</title>
		<link>http://kastang.com/blog/2008/10/remove-3000-from-tracks-gtd-domain/</link>
		<comments>http://kastang.com/blog/2008/10/remove-3000-from-tracks-gtd-domain/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 16:11:05 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[GTD]]></category>
		<category><![CDATA[httpd.conf]]></category>
		<category><![CDATA[Mod_Proxy]]></category>
		<category><![CDATA[Remove Port]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tracks]]></category>
		<category><![CDATA[Virtual Host]]></category>

		<guid isPermaLink="false">http://kastang.com/?p=41</guid>
		<description><![CDATA[Here is a relatively simple way to remove the :3000 from the end of your domain if you are using Tracks GTD. Before following the instructions, please make sure you meet all the conditions below: -Working on a dedicated box (Have access to httpd.conf file and access to installing Apache modules) -Have mod_proxy and mod_proxy_http [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a relatively simple way to remove the :3000 from the end of your domain if you are using <a href="http://www.rousette.org.uk/projects/">Tracks <span class="caps">GTD</span></a>.</p>
<p><strong>Before following the instructions, please make sure you meet all the conditions below:</strong></p>
<ul>
<li> -Working on a dedicated box (Have access to httpd.conf file and access to installing Apache modules)</li>
<li> -Have mod_proxy and mod_proxy_http installed and working.</li>
<li> -Have Tracks <span class="caps">GTD</span> up and running.</li>
<li> -Have command line experience. (Please do not try this if you are not sure what you are doing, you could damage your Apache install.)</li>
<li> -Backed up your configuration files.</li>
</ul>
<p><span class="caps">SSH</span> into your server, fire up your favorite editor and goto your httpd.conf file, in my case I am using Vi.</p>
<p>Find the domain/sub-domain Virtual Host you would like to remove the port number. I recommend using a subdomain.</p>
<pre>&lt;VirtualHost &lt;server ip&gt;:80&gt;
    ServerName gtd.mydomain.com
    ServerAlias www.mydomain.com
    DocumentRoot /home/mydomain/public_html/gtd
    ServerAdmin webmaster@mydomain.com
&lt;/VirtualHost&gt;</pre>
<p>Right above the &lt;/VirtualHost&gt;line, add in the following:</p>
<pre>######
ServerSignature On
    ProxyRequests Off
    &lt;Proxy *&gt;
         Order deny,allow
         Allow from all
    &lt;/Proxy&gt;
    ProxyPass / http://gtd.kast.me:3000/
    ProxyPassReverse / http://gtd.kast.me:3000/
    ProxyPreserveHost On
######</pre>
<p>You will have to edit the Proxy lines as needed, basically both lines should read the same and be your ‘ServerName’ and the port number you have Tracks running on.</p>
<p>I hope this is simple enough to understand. I will answer questions via comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://kastang.com/blog/2008/10/remove-3000-from-tracks-gtd-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
