<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: How To Deploy Phusion Passenger To A Subdirectory, Routing Errors, And Restarting</title>
	<atom:link href="http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/</link>
	<description>All about web hosting, coding, designing, and being a webmaster!</description>
	<lastBuildDate>Tue, 02 Mar 2010 21:22:58 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Graham McMillan</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4744</link>
		<dc:creator>Graham McMillan</dc:creator>
		<pubDate>Fri, 01 May 2009 03:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4744</guid>
		<description>Your .htaccess file looks fine, so it should be working.  It sounds like there may be some other problem (gems missing?).  Could you send in a ticket so we can take a look at your specific account to determine the problem?

Also, after you submit the ticket, please e-mail me at gmcmillan _AT_ site5 DOT com with the ticket number and I&#039;ll take a look, too.

Thanks,

Graham</description>
		<content:encoded><![CDATA[<p>Your .htaccess file looks fine, so it should be working.  It sounds like there may be some other problem (gems missing?).  Could you send in a ticket so we can take a look at your specific account to determine the problem?</p>
<p>Also, after you submit the ticket, please e-mail me at gmcmillan _AT_ site5 DOT com with the ticket number and I&#8217;ll take a look, too.</p>
<p>Thanks,</p>
<p>Graham</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: explainer</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4710</link>
		<dc:creator>explainer</dc:creator>
		<pubDate>Wed, 29 Apr 2009 18:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4710</guid>
		<description>I am attempting to deploy two rails apps to my server, named &#039;depot&#039; and &#039;audit&#039;.  I am using capistrano to deploy each, and deploy.rb for each is identical except for the :application and :repository settings.

I am including my .htaccess file for &#039;audit&#039; below:
==================
PassengerEnabled on

 RailsBaseURI /audit
==================
The .htaccess file for &#039;depot&#039; differs only in the contents of /approot.

I have added the
config.action_controller.relative_url_root = &quot;/audit&quot; to my environment.rb, and have done the same for depot.

What am I missing?</description>
		<content:encoded><![CDATA[<p>I am attempting to deploy two rails apps to my server, named &#8216;depot&#8217; and &#8216;audit&#8217;.  I am using capistrano to deploy each, and deploy.rb for each is identical except for the :application and :repository settings.</p>
<p>I am including my .htaccess file for &#8216;audit&#8217; below:<br />
==================<br />
PassengerEnabled on</p>
<p> RailsBaseURI /audit<br />
==================<br />
The .htaccess file for &#8216;depot&#8217; differs only in the contents of /approot.</p>
<p>I have added the<br />
config.action_controller.relative_url_root = &#8220;/audit&#8221; to my environment.rb, and have done the same for depot.</p>
<p>What am I missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Welch-Bolen</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4604</link>
		<dc:creator>Ben Welch-Bolen</dc:creator>
		<pubDate>Sat, 18 Apr 2009 18:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4604</guid>
		<description>That is odd, we tested it on every browse we have and no problems. What browser and version are you using?

Thanks, Ben</description>
		<content:encoded><![CDATA[<p>That is odd, we tested it on every browse we have and no problems. What browser and version are you using?</p>
<p>Thanks, Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ktulhu</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4603</link>
		<dc:creator>ktulhu</dc:creator>
		<pubDate>Sat, 18 Apr 2009 10:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4603</guid>
		<description>Nice article, thanks.
Seems something wrong with javascript on this page,
it reloads every few seconds at my browser.</description>
		<content:encoded><![CDATA[<p>Nice article, thanks.<br />
Seems something wrong with javascript on this page,<br />
it reloads every few seconds at my browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Welch-Bolen</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4600</link>
		<dc:creator>Ben Welch-Bolen</dc:creator>
		<pubDate>Fri, 17 Apr 2009 07:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4600</guid>
		<description>I&#039;m glad to hear that Matthew, yep we will try to get more of this info in the forum and we are working on a new customer oriented wiki or help project.

Thanks! Ben</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad to hear that Matthew, yep we will try to get more of this info in the forum and we are working on a new customer oriented wiki or help project.</p>
<p>Thanks! Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthewfarmery</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4597</link>
		<dc:creator>matthewfarmery</dc:creator>
		<pubDate>Thu, 16 Apr 2009 21:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4597</guid>
		<description>Awesome article, and not before time, I tried several attempts to getting typo blog software running, was about to give up, but thanks to the above, I have finally got typo 5.3 working

my only mistake was, I pointed config.action_controller.relative_url_root = &quot;/approot&quot; 
to the application root, not the sub domain / directory, as soon as I did that, I will welcomed by the login screen

http://matthewfarmery.net/

so again awesome article, I would suggest the above gets posted in the ruby forum on site5</description>
		<content:encoded><![CDATA[<p>Awesome article, and not before time, I tried several attempts to getting typo blog software running, was about to give up, but thanks to the above, I have finally got typo 5.3 working</p>
<p>my only mistake was, I pointed config.action_controller.relative_url_root = &#8220;/approot&#8221;<br />
to the application root, not the sub domain / directory, as soon as I did that, I will welcomed by the login screen</p>
<p><a href="http://matthewfarmery.net/" rel="nofollow">http://matthewfarmery.net/</a></p>
<p>so again awesome article, I would suggest the above gets posted in the ruby forum on site5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham McMillan</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4596</link>
		<dc:creator>Graham McMillan</dc:creator>
		<pubDate>Thu, 16 Apr 2009 12:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4596</guid>
		<description>hey bbebop,

Those are all good points and I have just updated the blog post with those details.

Thanks!

-Graham</description>
		<content:encoded><![CDATA[<p>hey bbebop,</p>
<p>Those are all good points and I have just updated the blog post with those details.</p>
<p>Thanks!</p>
<p>-Graham</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbebop</title>
		<link>http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/comment-page-1/#comment-4593</link>
		<dc:creator>bbebop</dc:creator>
		<pubDate>Wed, 15 Apr 2009 22:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.site5.com/blog/?p=343#comment-4593</guid>
		<description>Based on my recent experience, these instructions work if you&#039;re deploying a subdirectory (as in http://mysite.com/subdirectory), but won&#039;t work if the subdirectory is actually a subdomain (as in http://subdirectory.mysite.com). In the latter case, &quot;RailsBaseURI /approot&quot; and &#039;onfig.action_controller.relative_url_root = &quot;/approot&quot;&#039; weren&#039;t necessary.

The other thing that caused problems were the rewrite rules in my .htaccess file. They worked with fcgi, but interfere with Phusion Passenger.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Based on my recent experience, these instructions work if you&#8217;re deploying a subdirectory (as in <a href="http://mysite.com/subdirectory)" rel="nofollow">http://mysite.com/subdirectory)</a>, but won&#8217;t work if the subdirectory is actually a subdomain (as in <a href="http://subdirectory.mysite.com)" rel="nofollow">http://subdirectory.mysite.com)</a>. In the latter case, &#8220;RailsBaseURI /approot&#8221; and &#8216;onfig.action_controller.relative_url_root = &#8220;/approot&#8221;&#8216; weren&#8217;t necessary.</p>
<p>The other thing that caused problems were the rewrite rules in my .htaccess file. They worked with fcgi, but interfere with Phusion Passenger.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
