I just learn RoR. I try a ''hello world'' here http://www.smtservers.com/demo/ you can see all my code. I hope ''hello world'' works on the URL. http://www.smtservers.com/demo/say/hello But I get a 404 error. Please help me.Thanks M -- Posted via http://www.ruby-forum.com/.
From the looks of it, you don''t have your webserver configured for running ruby or rails. Since it looks like you''re running apache 1.3, you want to install mod_fastcgi. (please someone correct me if I''m wrong) Also, as a side note, I noticed your company name. Do you know what first comes to mind when I read "S & M Technology" ? -Simon mark sheran wrote:> I just learn RoR. > > I try a ''hello world'' here > http://www.smtservers.com/demo/ > > you can see all my code. > > I hope ''hello world'' works on the URL. > > http://www.smtservers.com/demo/say/hello > > But I get a 404 error. > > Please help me.Thanks > > M >
You don''t have to have fastcgi installed on apache V1.3. It just depends on the speed of your machine! Simon C. Wex wrote:> From the looks of it, you don''t have your webserver configured for > running ruby or rails. Since it looks like you''re running apache 1.3, > you want to install mod_fastcgi. (please someone correct me if I''m > wrong) > > Also, as a side note, I noticed your company name. Do you know what > first comes to mind when I read "S & M Technology" ? > > -Simon-- Posted via http://www.ruby-forum.com/.
Presumably the OP needs to set up the 404 handler to call the CGI [or FGCI etc.]. I don''t know how to do that for Apache. On 22 Feb 2006, at 2:34pm, fish man wrote:> > You don''t have to have fastcgi installed on apache V1.3. It just > depends > on the speed of your machine! > > Simon C. Wex wrote: >> From the looks of it, you don''t have your webserver configured for >> running ruby or rails. Since it looks like you''re running apache 1.3, >> you want to install mod_fastcgi. (please someone correct me if I''m >> wrong) >> >> Also, as a side note, I noticed your company name. Do you know what >> first comes to mind when I read "S & M Technology" ?