My (admittedly quite limited) understanding is that Apache doesn't serve Rails apps itself, but it can act as a reverse proxy (see also: pound), dispatching requests to, e.g., dispatch.fcgi or mongrel. I believe Dreamhost does this with Apache fronting for FCGI.
As I recall, Textdrive has you set up a lighttpd instance on some dedicated port, and then uses Apache's proxying capabilities to forward HTTP requests on 80 to your lighttpd port, and then lighttpd asks one or more dispatch.fcgi instances to process that request. Seems excessively layered to me, but I'm sure there's a reason, probably so you can run PHP alongside, or do virtual hosting with Apache, or something... -Sam On 10/31/06, Dave Amos <[EMAIL PROTECTED]> wrote:
Hi everyone, Thanks for all of the advice on which web server to use! I think that Apache would be great and I really want to use it, but here's my problem: I've got shared server web hosting at Textdrive.com, and they wholeheartedly recommend Lighttpd. So much, in fact, that I can't find much information about how to launch a rails application using Apache. Their servers run on Apache, however, and they're rails tutorials show you how to set up Lighttpd instead. I'm not sure how to get my rails application to run on Apache, even though it seems like it should be really simple, since it's already up and running. I don't know if I can really stop and start Apache, however, since I'm hosted on a shared server. Does anyone know of a good tutorial or have sage advice about how to get a rails app running on a shared server with Apache? Do I just move all of my files to the /web/ directory and configure dispatch.cgi or something like that? Like I've said before, I'm completely new to the world of web server stuff, so I'm not even sure I'm asking the right questions here. Thanks all! Dave _______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
_______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
