On Tue, Oct 31, 2006, Dave Amos wrote: > 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.
If you're stuck with TxD, I'd just do things the way they recommend. In the long run it'll be a lot less painful. When you get your own server or VPS, come back and I (or someone else) will show you how to configure your apache to serve up apps without proxying ;) Speaking in broad strokes, if you've got an application running under fastcgi with apache, you don't actually need to restart apache to reload your app. You just kill the fastcgi listeners and apache children will restart them when the next request comes in. In practice, I'm not sure how well that works. Just do what TxD says. Ben _______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
