I''ve been trying to get up a rails app on some other web host that isn''t as cool as say textdrive.com or planetargon.com with their rails support. I do have acccess to dev tools, and have managed to build and install Ruby 1.8.2, RubyGems, and Rails, all under ~/bin. I''m a bit stuck on the next steps to take to try and get something running. I have access to httpd.conf and can setup any number of subdomains, so that looks helpful, but I do not have the permissions to be able to install mod_ruby or mod_fcgi in the standard locations. WebBrick works, and I can access the app over host:3000 or whatever port I can find open (this is on a "virtual private server" context), but I''m not sure what the best way to go is. I haven''t tried to convince the hosting provider to install mod_fcgi, or know if they would even do it. So I''m thinking I could possibly install lighthttp and get that running, and setup the subdomain to direct requests to the correct port for the lighthttp server, but I''m not sure if this is the best or only way to do things, or if there''s another way to set up Apache to serve the app. -- Craig Beck http://luckybonza.com AIM: Kreiggers
> So I''m thinking I could possibly install lighthttp and get that > running, and setup the subdomain to direct requests to the correct > port for the lighthttp server, but I''m not sure if this is the best > or only way to do things, or if there''s another way to set up Apache > to serve the app.This is the current way that textdrive likes to do rails installs. I''m running a private instance of lighttpd there and proxy-passing through to my applications (if you don''t know about ProxyPass, read up on it. It''s going to be your friend if you end up doing this). It''s less resource intensive (and FD_SETSIZE intensive) than using apache/fcgi. Brian
Do you mean using the apache mod_proxy to pass the request to lighthttpd? On May 4, 2005, at 9:20 AM, Brian L. wrote:>> So I''m thinking I could possibly install lighthttp and get that >> running, and setup the subdomain to direct requests to the correct >> port for the lighthttp server, but I''m not sure if this is the best >> or only way to do things, or if there''s another way to set up Apache >> to serve the app. >> > > This is the current way that textdrive likes to do rails installs. I''m > running a private instance of lighttpd there and proxy-passing through > to my applications (if you don''t know about ProxyPass, read up on it. > It''s going to be your friend if you end up doing this). It''s less > resource intensive (and FD_SETSIZE intensive) than using apache/fcgi. > > Brian > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >