# Why 'hello world' doen't work?

**URL:** <https://www.ruby-forum.com/t/why-hello-world-doent-work/71695>\
**Category:** Rails\
**Created:** [February 22, 2006, 4:29am UTC](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695 "2006-02-22T04:29:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [February 22, 2006, 4:29am UTC](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695/1 "2006-02-22T04:29:25Z")

</div>

I just learn RoR.

I try a ‘hello world’ here  
[http://www.smtservers.com/demo/](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](http://www.smtservers.com/demo/say/hello)

But I get a 404 error.

Please help me.Thanks

M

---

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [February 22, 2006, 6:31am UTC](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695/2 "2006-02-22T06:31:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [February 22, 2006, 3:34pm UTC](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695/3 "2006-02-22T15:34:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [February 22, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/why-hello-world-doent-work/71695/4 "2006-02-22T19:14:37Z")

</div>

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.
