<?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: Apache and FastCGI Setup</title>
	<atom:link href="http://www.mmrobins.com/2005/12/apache-and-fastcgi-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mmrobins.com/2005/12/apache-and-fastcgi-setup/</link>
	<description></description>
	<lastBuildDate>Thu, 16 May 2013 20:35:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
	<item>
		<title>By: mmrobins</title>
		<link>http://www.mmrobins.com/2005/12/apache-and-fastcgi-setup/comment-page-1/#comment-47</link>
		<dc:creator>mmrobins</dc:creator>
		<pubDate>Fri, 06 Jan 2006 01:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mmrobins.com/?p=187#comment-47</guid>
		<description><![CDATA[Now that I look back on it, my solution my not even be what did it, but I tried a TON of stuff beforehand.  I wish I had documented better what all it was, but I basically just scoured Google for the error messages.

You might try &lt;a rel=&quot;nofollow&quot; href=&quot;http://rubyforge.org/projects/instantrails/&quot;&gt;instant rails&lt;/a&gt; as I think they have scgi built in.  Also &lt;a rel=&quot;nofollow&quot; href=&quot;http://weblog.rubyonrails.org/articles/2005/12/29/apache-gets-serious-about-fastcgi&quot;&gt;fcgi&lt;/a&gt; could soon be integrated into Apache by default.

Until then, here&#039;s how I setup those files you requested:

httpd.conf - I&#039;m using and alias instead of a virtual host since I want my rails app to work as a subdirectory of my web server&#039;s root
&lt;code /&gt;

&lt;code&gt;Alias /tooltime &quot;C:/rails/tooltime/public/&quot;&lt;/code&gt;

Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
Here&#039;s everything in my .htaccess.  I commented out the  AddHandler stuff since I put it in my httpd.conf
&lt;code&gt;
RewriteBase /tooltime
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
&lt;/code&gt;

I don&#039;t think I changed anything in my dispatch.fcgi except the first line where you point to your local ruby installation

&lt;code&gt;#!c:/ruby/bin/rubyw.exe
require File.dirname(__FILE__) + &quot;/../config/environment&quot;
require &#039;fcgi_handler&#039;&lt;/code&gt;

RailsFCGIHandler.process!]]></description>
		<content:encoded><![CDATA[<p>Now that I look back on it, my solution my not even be what did it, but I tried a TON of stuff beforehand.  I wish I had documented better what all it was, but I basically just scoured Google for the error messages.</p>
<p>You might try <a rel="nofollow" href="http://rubyforge.org/projects/instantrails/">instant rails</a> as I think they have scgi built in.  Also <a rel="nofollow" href="http://weblog.rubyonrails.org/articles/2005/12/29/apache-gets-serious-about-fastcgi">fcgi</a> could soon be integrated into Apache by default.</p>
<p>Until then, here&#8217;s how I setup those files you requested:</p>
<p>httpd.conf &#8211; I&#8217;m using and alias instead of a virtual host since I want my rails app to work as a subdirectory of my web server&#8217;s root<br />
<code></code></p>
<p><code>Alias /tooltime "C:/rails/tooltime/public/"</code></p>
<p>Options ExecCGI FollowSymLinks<br />
AllowOverride all<br />
Allow from all<br />
Order allow,deny<br />
AddHandler cgi-script .cgi<br />
AddHandler fastcgi-script .fcgi<br />
Here's everything in my .htaccess.  I commented out the  AddHandler stuff since I put it in my httpd.conf<br />
<code><br />
RewriteBase /tooltime<br />
RewriteRule ^$ index.html [QSA]<br />
RewriteRule ^([^.]+)$ $1.html [QSA]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]<br />
</code></p>
<p>I don't think I changed anything in my dispatch.fcgi except the first line where you point to your local ruby installation</p>
<p><code>#!c:/ruby/bin/rubyw.exe<br />
require File.dirname(__FILE__) + "/../config/environment"<br />
require 'fcgi_handler'</code></p>
<p>RailsFCGIHandler.process!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.mmrobins.com/2005/12/apache-and-fastcgi-setup/comment-page-1/#comment-45</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 02 Jan 2006 23:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mmrobins.com/?p=187#comment-45</guid>
		<description><![CDATA[you know... I got really excited when i read you post because I&#039;m facing the exact same problem.  I deleted dispatch.cgi, and dispatch.rb but no take..  so im wondering if you could post a couple of you config files here.  httpd... i wanna see how you set up the virtual host... dispatch.fcgi  ... .htaccess   

if you don&#039;t mind please post those details..
-ken
kojuka@gmail.com]]></description>
		<content:encoded><![CDATA[<p>you know&#8230; I got really excited when i read you post because I&#8217;m facing the exact same problem.  I deleted dispatch.cgi, and dispatch.rb but no take..  so im wondering if you could post a couple of you config files here.  httpd&#8230; i wanna see how you set up the virtual host&#8230; dispatch.fcgi  &#8230; .htaccess   </p>
<p>if you don&#8217;t mind please post those details..<br />
-ken<br />
<a href="mailto:kojuka@gmail.com">kojuka@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brendan</title>
		<link>http://www.mmrobins.com/2005/12/apache-and-fastcgi-setup/comment-page-1/#comment-40</link>
		<dc:creator>brendan</dc:creator>
		<pubDate>Sat, 17 Dec 2005 15:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mmrobins.com/?p=187#comment-40</guid>
		<description><![CDATA[I agree! Last week when I was doing the same thing, I ran into the same problem... 

Hi Matt, 
Just following the highlights of your blog and realized this one is for a different audience than myself, though your trial and error approach is commendable and successful.]]></description>
		<content:encoded><![CDATA[<p>I agree! Last week when I was doing the same thing, I ran into the same problem&#8230; </p>
<p>Hi Matt,<br />
Just following the highlights of your blog and realized this one is for a different audience than myself, though your trial and error approach is commendable and successful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
