i used apache2 and fastcgi as i learned from rails4days. i added mod_fastcgi.dll, uncommented mod_rewrite.so, added virtual hosts, added cgi and fcgi handler, and set fcgi''s number of process in apache''s httpd.conf. i changed the RewriteRule line on public/.htaccess to use fcgi. but it still didn''t work ? it won''t even render "Hello World" do i have to move to WEBrick ? ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Did you install Ruby for Apache? I don''t see anything in your list that would allow fastcgi/apache to interact with Ruby. Silent Assasin wrote:>i used apache2 and fastcgi as i learned from rails4days. i added mod_fastcgi.dll, uncommented >mod_rewrite.so, added virtual hosts, added cgi and fcgi handler, and set fcgi''s number of process >in apache''s httpd.conf. i changed the RewriteRule line on public/.htaccess to use fcgi. but it >still didn''t work ? it won''t even render "Hello World" > >do i have to move to WEBrick ? > > > >____________________________________________________ >Start your day with Yahoo! - make it your home page >http://www.yahoo.com/r/hs > >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > > > > >
I''ve experienced the same problem. I also have libapache2-mod-ruby and libapache-ruby1.8 installed. Apache outputs: Apache/2.0.53 (Ubuntu) mod_fastcgi/2.4.2 PHP/4.3.10-10ubuntu4 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-23) Server at localhost Port 80 Apache is definitely running (phpmyadmin works for example), but when I point to my Rails app (ie, localhost/todo) I just get the rails directory structure in my browser, the scripts don''t execute. If I point to localhost/todo/public, then I get the standard "Welcome to Rails" page, of course. Deleting public/index.html gives me nothing. With Webrick everything works fine.> >i used apache2 and fastcgi as i learned from rails4days. i added mod_fastcgi.dll, uncommented > >mod_rewrite.so, added virtual hosts, added cgi and fcgi handler, and set fcgi''s number of process > >in apache''s httpd.conf. i changed the RewriteRule line on public/.htaccess to use fcgi. but it > >still didn''t work ? it won''t even render "Hello World"-- "Impossible is nothing."