Howdy - Someone''s probably already reported this, but anyhow, going here: http://wiki.rubyonrails.com/rails/show/RailsOnFedora results in: ===================> Bad Gateway> The proxy server received an invalid response from an upstream server. >=================== Yours, Tom
On Jul 29, 2005, at 8:08 PM, Tom Copeland wrote:> ===================>> Bad Gateway >> The proxy server received an invalid response from an upstream >> server. > ===================The Instiki behind the wiki is down and won''t come up. You try loading 600mb of Madeleine-based wiki data into memory ;-) - Marten
On Fri, 2005-07-29 at 20:13 +0200, Marten Veldthuis wrote:> > ===================> >> Bad Gateway > >> The proxy server received an invalid response from an upstream > >> server. > > ===================> > The Instiki behind the wiki is down and won''t come up. You try > loading 600mb of Madeleine-based wiki data into memory ;-)Yikes! Too bad... I was going to update the FastCGI page to show how to compile mod_fastcgi into Apache. I need to get a blog or something... Yours, Tom
On 7/29/05, Tom Copeland <tom-rlPNtO1eV9h54TAoqtyWWQ@public.gmane.org> wrote:> I was going to update the FastCGI page to show how to compile > mod_fastcgi into Apache.Since you obviously have FastCGI running on Apache, do you think I could impose on your help cuz I can''t seem to get it running. I''ve read all the documentation and tried it, to no avail. Some information about my setup. - I''m running Ubuntu Hoary. - I have apache2 installed and running. (Ie, I run phpMyAdmin no problem). - i have libapache2-mod-fastcgi (2.4.2) installed. - gem list shows that i have fcgi 0.8.6.1 installed - i have libfcgi-ruby1.8 installed (0.8.5-1) I have the following in /etc/apache/httpd.conf <pre> <Directory /var/www/> AllowOverride all </Directory> LoadModule fastcgi_module modules/mod_fastcgi.so AddHandler fastcgi-script .fcgi <VirtualHost *:80> ServerAdmin webmaster-19nr15rzP4Y@public.gmane.org DocumentRoot /var/www/todo ServerName localhost ErrorLog /var/log/httpd/testapp-error_log CustomLog /var/log/httpd/testapp-access_log common Options Indexes ExecCGI FollowSymLinks RewriteEngine On </VirtualHost> </pre> todo is the name of my Rails app, and it sits in /var/www/todo When I browse to http://localhost/todo, I just get the folder structure. (I have access to the folder, as I don''t get a permission denied.) The ruby script doesn''t execute. http://localhost/todo/public of course shows me the usual "Welcome to ruby on Rails." Deleting todo/public/index.html still doesn''t cause the browser to execute the todo script. I''m stuck. Thanks for any advice you might have.> I need to get a blog or something...I''d recommend typo - a cool Rails app. -- "Impossible is nothing."
> <Directory /var/www/> > AllowOverride all > </Directory> > > LoadModule fastcgi_module modules/mod_fastcgi.so > > AddHandler fastcgi-script .fcgi > > <VirtualHost *:80> > ServerAdmin webmaster-19nr15rzP4Y@public.gmane.org > DocumentRoot /var/www/todoDocumentRoot /var/www/todo/public <== you need to put the path to the public directory in your rails project. Everything else looks fine> ServerName localhost > ErrorLog /var/log/httpd/testapp-error_log > CustomLog /var/log/httpd/testapp-access_log common > Options Indexes ExecCGI FollowSymLinks > RewriteEngine On > </VirtualHost> > </pre> > > todo is the name of my Rails app, and it sits in /var/www/todo > > When I browse to http://localhost/todo, I just get the folder > structure. (I have access to the folder, as I don''t get a permission > denied.) The ruby script doesn''t execute. http://localhost/todo/public > of course shows me the usual "Welcome to ruby on Rails." Deleting > todo/public/index.html still doesn''t cause the browser to execute the > todo script. > > I''m stuck. Thanks for any advice you might have. > > > >> I need to get a blog or something... >> > > I''d recommend typo - a cool Rails app. > > -- > "Impossible is nothing." > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-Ezra Zygmuntowicz WebMaster Yakima Herald-Republic Newspaper ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org 509-577-7732
I''d change this to DocumentRoot /var/www/todo/public It''s quite dangerous to have the entire app in your document root. Instead, set JUST the public dir to your doc root. This is one of the more common security problems I''ve seen with folks setting up rails apps on visible IPs. If you google for: allinurl:database.yml You''ll find lots of nice root mysql passwords... Also, ensure that your .htaccess file is set up properly and has the proper permissions. On Jul 30, 2005, at 12:56 AM, zer0halo wrote:> DocumentRoot /var/www/todo_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Fri, 2005-07-29 at 20:13 +0200, Marten Veldthuis wrote:> On Jul 29, 2005, at 8:08 PM, Tom Copeland wrote: > > > ===================> >> Bad Gateway > >> The proxy server received an invalid response from an upstream > >> server. > > ===================> > The Instiki behind the wiki is down and won''t come up. You try > loading 600mb of Madeleine-based wiki data into memory ;-) >Any word on when this might be back up? Or any knowledge of what the problem with instiki is? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/
On Jul 30, 2005, at 6:57 AM, Robby Russell wrote:> On Fri, 2005-07-29 at 20:13 +0200, Marten Veldthuis wrote: > >> On Jul 29, 2005, at 8:08 PM, Tom Copeland wrote: >> >> >>> ===================>>> >>>> Bad Gateway >>>> The proxy server received an invalid response from an upstream >>>> server. >>>> >>> ===================>>> >> >> The Instiki behind the wiki is down and won''t come up. You try >> loading 600mb of Madeleine-based wiki data into memory ;-) >> >> > > Any word on when this might be back up? Or any knowledge of what the > problem with instiki is?Well, David is the one with access to that box. And given that he''s on an airplane bound for Portland... hard to say when he''ll be able to look at it. :( - Jamis
Jamis Buck wrote:> Well, David is the one with access to that box. And given that he''s > on an airplane bound for Portland... hard to say when he''ll be able > to look at it. :(I could (and quite probably should) fix it, but I need somebody with admin access to rubyonrails.com. Not necessarily David - probably somebody in TextDrive could do that. If you read this, please have a look at the TextDrive support ticket *WOM-78240 and *email me back. Regards, Alexey Verkhovsky
The wiki is back, but we had to shed the previous revisions in the process. Madeleine doesn''t cope well with huge wikis. Pretty please do help Alex get Instiki on a database ;) -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework
David Heinemeier Hansson wrote:>The wiki is back, but we had to shed the previous revisions in the >process. Madeleine doesn''t cope well with huge wikis. Pretty please do >help Alex get Instiki on a database ;) > >Won''t having the persistence mechanism be a database make the search much slower? Or maybe that''s a necessary trade-off to have Instiki scale?