RoR site structure on Apache

I try a ‘hello world’ demo here,you can see all my codes and structure

http://www.smtservers.com/demo/

I want to access the ruby app like this

http://www.smtservers.com/demo/say/hello

but I get a 404 error.

Please let me know why.

I am not sure the site structure is ok or not.Please give me a help

Thanks

Mark

Your site structure looks okay, and the error you’re getting is not a
Rails error, so I think Apache has simply not been configured to use
Rails yet.

I am not sure the site structure is ok or not.Please give me a help

Thanks

Mark

we’ve been here before…its not that i dont want to help you, its
just…you seem to read some of the fundamentals.

Your apache structures is NOT ok, http://www.smtservers.com/demo/ should
point to the ‘public’ folder in your app…

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)

But this demo folder is under public folder.
like

public
|
demo

RoR have to install on web root?

Thanks

Mark

Mikkel B. wrote:

I am not sure the site structure is ok or not.Please give me a help

Thanks

Mark

we’ve been here before…its not that i dont want to help you, its
just…you seem to read some of the fundamentals.

Your apache structures is NOT ok, http://www.smtservers.com/demo/ should
point to the ‘public’ folder in your app…

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)

For this kind of site structure
do you think if I can access it by
http://www.smtservers.com/demo/say/hello?

Thanks

Mark
mark sheran wrote:

But this demo folder is under public folder.
like

public
|
demo

RoR have to install on web root?

Thanks

Mark

Mikkel B. wrote:

I am not sure the site structure is ok or not.Please give me a help

Thanks

Mark

we’ve been here before…its not that i dont want to help you, its
just…you seem to read some of the fundamentals.

Your apache structures is NOT ok, http://www.smtservers.com/demo/ should
point to the ‘public’ folder in your app…

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)