On May 10, 2008, at 10:35 AM, Rion D'Luz wrote:

From the Notes: to get this working w/apache we run typo as usual then in the vhost (as per the doc):
# This is the important part--it sets up proxying.
 ProxyRequests Off
 <Proxy *>
   Order deny,allow
   Allow from all
 </Proxy>

 ProxyPass / http://localhost:4155/
 ProxyPassReverse / http://localhost:4155/
 ProxyPreserveHost On
</VirtualHost>
RION: or 4174 - so above filters typo thru mongrel to apache?

Yes. This is approximately equivalent to how Java web applications are usually set up, where Apache talks to the user, proxying connections back and forth with a separate application server.

So, my Typo ? is this:

Is there another way that you are aware of that would run ruby apps akin to
perl ones? Meaning using mod_ruby like mod_perl instead of mod_fcgi?


mod_ruby is dead and has lots of issues. If you don't want to deal with Mongrel as an app server, you could try Passenger (<http://wwwmodrails.com >), which provides an Apache module that does away with the need for a separate application server. It's quite new (only released a few weeks ago), but has been getting a lot of good press thus far, and is trivial to set up.


--
Scott

Reply via email to