Forum: Ruby on Rails RoR site structure on Apache

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3331bac71517b12fbacdd0e6069353e3?d=identicon&s=25 Mark Sheran (marksh)
on 2006-02-23 17:42
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
39045f22049b1db3e3dd08c3bffac17e?d=identicon&s=25 Filip Godsmurf (godsmurf)
on 2006-02-23 18:33
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.
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Mikkel Bruun (Guest)
on 2006-02-23 18:34
(Received via mailing list)
>
>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 Bruun

www.strongside.dk    - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk      - Buy Old Stuff!(DK)
3331bac71517b12fbacdd0e6069353e3?d=identicon&s=25 Mark Sheran (marksh)
on 2006-02-23 20:34
But this demo folder is under public folder.
like

public
  |
  demo

RoR have to install on web root?

Thanks

Mark

Mikkel Bruun 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 Bruun
>
> www.strongside.dk    - Football Portal(DK)
> nflfeed.helenius.org - Football News(DK)
> ting.minline.dk      - Buy Old Stuff!(DK)
3331bac71517b12fbacdd0e6069353e3?d=identicon&s=25 Mark Sheran (marksh)
on 2006-02-23 20:36
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 Bruun 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 Bruun
>>
>> www.strongside.dk    - Football Portal(DK)
>> nflfeed.helenius.org - Football News(DK)
>> ting.minline.dk      - Buy Old Stuff!(DK)
This topic is locked and can not be replied to.